#CF5DC7#CF5DC7

#CF5DC7 is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.6% C 0.191 H 330.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CF5DC7
RGBrgb(207, 93, 199)
HSLhsl(304, 54%, 59%)
HSVhsv(304, 55%, 81%)
CMYKcmyk(0%, 55.1%, 3.9%, 18.8%)
CIE-LABlab(57.29, 58.65, -34.63)
CIE-LCHlch(57.29, 68.11, 329.44°)
OKLaboklab(65.63% 0.166 -0.0948)
OKLCHoklch(65.63% 0.191 330.3)
XYZxyz(39.9550, 25.2202, 56.7853)
Luminance0.2522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DC7 #5DCF65
analogous
#9E5DCF #CF5DC7 #CF5D8E
triadic
#CF5DC7 #C7CF5D #5DC7CF
tetradic
#CF5DC7 #CF9E5D #5DCF65 #5D8ECF
square
#CF5DC7 #CF9E5D #5DCF65 #5D8ECF
split-complementary
#CF5DC7 #8ECF5D #5DCF9E
monochromatic
#892982 #B837AF #CF5DC7 #DD8CD7 #EBBBE8

Accessibility & contrast

On white

3.47
#CF5DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CF5DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DC7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DC7#FFFFFF#000000##000000
##CF5DC71.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CA
Deuteranopia (green-blind)
#7A8FC4
Tritanopia (blue-blind)
#D6688A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5dc7;
/* rgb */ color: rgb(207, 93, 199);
/* oklch */ color: oklch(65.6% 0.191 330.3);
Tailwind
colors: {
  custom: {
    50: '#e090d8',
    500: '#cf5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5dc7;
$custom-light: #e090d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5dc7",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 304.211,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65625,
    "c": 0.19116,
    "h": 330.3
  },
  "luminance": 0.25218
}

Semantic roles & 50–950 ramp

primary
#CF5DC7
secondary
#ADDAB1
accent
#DE554A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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