#CF5BD9#CF5BD9

#CF5BD9 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.3% C 0.210 H 324.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CF5BD9
RGBrgb(207, 91, 217)
HSLhsl(295, 62%, 60%)
HSVhsv(295, 58%, 85%)
CMYKcmyk(4.6%, 58.1%, 0%, 14.9%)
CIE-LABlab(57.81, 62.69, -44.03)
CIE-LCHlch(57.81, 76.60, 324.92°)
OKLaboklab(66.28% 0.1705 -0.1219)
OKLCHoklch(66.28% 0.21 324.4)
XYZxyz(41.9965, 25.7596, 68.3922)
Luminance0.2576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BD9 #65D95B
analogous
#905BD9 #CF5BD9 #D95BA4
triadic
#CF5BD9 #D9CF5B #5BD9CF
tetradic
#CF5BD9 #D9905B #65D95B #5BA4D9
square
#CF5BD9 #D9905B #65D95B #5BA4D9
split-complementary
#CF5BD9 #A4D95B #5BD990
monochromatic
#8D2397 #BC2EC8 #CF5BD9 #DE8DE5 #ECBEF0

Accessibility & contrast

On white

3.41
#CF5BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CF5BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BD9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BD9#FFFFFF#000000##000000
##CF5BD91.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DD
Deuteranopia (green-blind)
#7090D6
Tritanopia (blue-blind)
#D36C92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf5bd9;
/* rgb */ color: rgb(207, 91, 217);
/* oklch */ color: oklch(66.3% 0.210 324.4);
Tailwind
colors: {
  custom: {
    50: '#e190e5',
    500: '#cf5bd9',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bd9;
$custom-light: #e190e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bd9",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 295.238,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66282,
    "c": 0.20956,
    "h": 324.4
  },
  "luminance": 0.25757
}

Semantic roles & 50–950 ramp

primary
#CF5BD9
secondary
#B4E0B0
accent
#CA1B29
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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