#CF48D7#CF48D7

#CF48D7 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.1% C 0.233 H 325.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CF48D7
RGBrgb(207, 72, 215)
HSLhsl(297, 64%, 56%)
HSVhsv(297, 67%, 84%)
CMYKcmyk(3.7%, 66.5%, 0%, 15.7%)
CIE-LABlab(54.88, 70.18, -47.54)
CIE-LCHlch(54.88, 84.76, 325.89°)
OKLaboklab(64.12% 0.1921 -0.132)
OKLCHoklch(64.12% 0.233 325.5)
XYZxyz(40.3144, 22.8090, 66.5560)
Luminance0.2281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF48D7 #50D748
analogous
#8848D7 #CF48D7 #D74898
triadic
#CF48D7 #D7CF48 #48D7CF
tetradic
#CF48D7 #D78848 #50D748 #4898D7
square
#CF48D7 #D78848 #50D748 #4898D7
split-complementary
#CF48D7 #98D748 #48D788
monochromatic
#811E87 #B129B9 #CF48D7 #DC7AE2 #E9ACED

Accessibility & contrast

On white

3.78
#CF48D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CF48D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF48D7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF48D7#FFFFFF#000000##000000
##CF48D71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B79DB
Deuteranopia (green-blind)
#6589D3
Tritanopia (blue-blind)
#D45E8A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf48d7;
/* rgb */ color: rgb(207, 72, 215);
/* oklch */ color: oklch(64.1% 0.233 325.5);
Tailwind
colors: {
  custom: {
    50: '#e185e4',
    500: '#cf48d7',
    950: '#000000',
  },
}
SCSS
$custom: #cf48d7;
$custom-light: #e185e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf48d7",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 296.643,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64123,
    "c": 0.23305,
    "h": 325.5
  },
  "luminance": 0.22806
}

Semantic roles & 50–950 ramp

primary
#CF48D7
secondary
#A3DBA0
accent
#E7414A
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CF48D7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CF48D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva