#CF5DC8#CF5DC8

#CF5DC8 is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.7% C 0.192 H 329.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CF5DC8
RGBrgb(207, 93, 200)
HSLhsl(304, 54%, 59%)
HSVhsv(304, 55%, 81%)
CMYKcmyk(0%, 55.1%, 3.4%, 18.8%)
CIE-LABlab(57.33, 58.82, -35.13)
CIE-LCHlch(57.33, 68.51, 329.16°)
OKLaboklab(65.67% 0.1661 -0.0963)
OKLCHoklch(65.67% 0.192 329.9)
XYZxyz(40.0715, 25.2668, 57.3988)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DC8 #5DCF64
analogous
#9D5DCF #CF5DC8 #CF5D8F
triadic
#CF5DC8 #C8CF5D #5DC8CF
tetradic
#CF5DC8 #CF9D5D #5DCF64 #5D8FCF
square
#CF5DC8 #CF9D5D #5DCF64 #5D8FCF
split-complementary
#CF5DC8 #8FCF5D #5DCF9D
monochromatic
#892983 #B837B0 #CF5DC8 #DD8CD8 #EBBBE8

Accessibility & contrast

On white

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

On black

6.05
#CF5DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DC8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DC8#FFFFFF#000000##000000
##CF5DC81.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CB
Deuteranopia (green-blind)
#798FC5
Tritanopia (blue-blind)
#D6688A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5dc8;
/* rgb */ color: rgb(207, 93, 200);
/* oklch */ color: oklch(65.7% 0.192 329.9);
Tailwind
colors: {
  custom: {
    50: '#e090d9',
    500: '#cf5dc8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5dc8;
$custom-light: #e090d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5dc8",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 303.684,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65673,
    "c": 0.19199,
    "h": 329.9
  },
  "luminance": 0.25264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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