#CF5DC4#CF5DC4

#CF5DC4 is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.5% C 0.189 H 331.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#CF5DC4
RGBrgb(207, 93, 196)
HSLhsl(306, 54%, 59%)
HSVhsv(306, 55%, 81%)
CMYKcmyk(0%, 55.1%, 5.3%, 18.8%)
CIE-LABlab(57.16, 58.15, -33.12)
CIE-LCHlch(57.16, 66.92, 330.33°)
OKLaboklab(65.48% 0.1655 -0.0905)
OKLCHoklch(65.48% 0.189 331.3)
XYZxyz(39.6101, 25.0823, 54.9689)
Luminance0.2508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DC4 #5DCF68
analogous
#A15DCF #CF5DC4 #CF5D8B
triadic
#CF5DC4 #C4CF5D #5DC4CF
tetradic
#CF5DC4 #CFA15D #5DCF68 #5D8BCF
square
#CF5DC4 #CFA15D #5DCF68 #5D8BCF
split-complementary
#CF5DC4 #8BCF5D #5DCFA1
monochromatic
#892980 #B837AC #CF5DC4 #DD8CD5 #EBBBE6

Accessibility & contrast

On white

3.49
#CF5DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#CF5DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DC4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DC4#FFFFFF#000000##000000
##CF5DC41.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC7
Deuteranopia (green-blind)
#7B8FC1
Tritanopia (blue-blind)
#D76788
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf5dc4;
/* rgb */ color: rgb(207, 93, 196);
/* oklch */ color: oklch(65.5% 0.189 331.3);
Tailwind
colors: {
  custom: {
    50: '#e090d6',
    500: '#cf5dc4',
    950: '#000000',
  },
}
SCSS
$custom: #cf5dc4;
$custom-light: #e090d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5dc4",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 305.789,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65483,
    "c": 0.18867,
    "h": 331.3
  },
  "luminance": 0.2508
}

Semantic roles & 50–950 ramp

primary
#CF5DC4
secondary
#ADDAB2
accent
#DE584A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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