#CF5BC8#CF5BC8

#CF5BC8 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.4% C 0.195 H 329.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CF5BC8
RGBrgb(207, 91, 200)
HSLhsl(304, 55%, 58%)
HSVhsv(304, 56%, 81%)
CMYKcmyk(0%, 56%, 3.4%, 18.8%)
CIE-LABlab(57.00, 59.73, -35.65)
CIE-LCHlch(57.00, 69.56, 329.17°)
OKLaboklab(65.43% 0.1687 -0.0978)
OKLCHoklch(65.43% 0.195 329.9)
XYZxyz(39.8982, 24.9203, 57.3410)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BC8 #5BCF62
analogous
#9C5BCF #CF5BC8 #CF5B8E
triadic
#CF5BC8 #C8CF5B #5BC8CF
tetradic
#CF5BC8 #CF9C5B #5BCF62 #5B8ECF
square
#CF5BC8 #CF9C5B #5BCF62 #5B8ECF
split-complementary
#CF5BC8 #8ECF5B #5BCF9C
monochromatic
#882882 #B736AF #CF5BC8 #DD8AD8 #EBBAE8

Accessibility & contrast

On white

3.51
#CF5BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CF5BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BC8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BC8#FFFFFF#000000##000000
##CF5BC81.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCB
Deuteranopia (green-blind)
#788EC5
Tritanopia (blue-blind)
#D66689
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf5bc8;
/* rgb */ color: rgb(207, 91, 200);
/* oklch */ color: oklch(65.4% 0.195 329.9);
Tailwind
colors: {
  custom: {
    50: '#e08fd9',
    500: '#cf5bc8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bc8;
$custom-light: #e08fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bc8",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 303.621,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65426,
    "c": 0.19499,
    "h": 329.9
  },
  "luminance": 0.24918
}

Semantic roles & 50–950 ramp

primary
#CF5BC8
secondary
#ACDAAF
accent
#DE534A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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