#CF5AD9#CF5AD9

#CF5AD9 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.2% C 0.211 H 324.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CF5AD9
RGBrgb(207, 90, 217)
HSLhsl(295, 63%, 60%)
HSVhsv(295, 59%, 85%)
CMYKcmyk(4.6%, 58.5%, 0%, 14.9%)
CIE-LABlab(57.65, 63.13, -44.28)
CIE-LCHlch(57.65, 77.12, 324.95°)
OKLaboklab(66.16% 0.1717 -0.1226)
OKLCHoklch(66.16% 0.211 324.5)
XYZxyz(41.9116, 25.5898, 68.3639)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AD9 #64D95A
analogous
#905AD9 #CF5AD9 #D95AA3
triadic
#CF5AD9 #D9CF5A #5AD9CF
tetradic
#CF5AD9 #D9905A #64D95A #5AA3D9
square
#CF5AD9 #D9905A #64D95A #5AA3D9
split-complementary
#CF5AD9 #A3D95A #5AD990
monochromatic
#8D2396 #BC2EC8 #CF5AD9 #DD8CE4 #ECBDF0

Accessibility & contrast

On white

3.43
#CF5AD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CF5AD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AD9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AD9#FFFFFF#000000##000000
##CF5AD91.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4681DD
Deuteranopia (green-blind)
#6F8FD6
Tritanopia (blue-blind)
#D36C91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5ad9;
/* rgb */ color: rgb(207, 90, 217);
/* oklch */ color: oklch(66.2% 0.211 324.5);
Tailwind
colors: {
  custom: {
    50: '#e18fe5',
    500: '#cf5ad9',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ad9;
$custom-light: #e18fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ad9",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 217
  },
  "hsl": {
    "h": 295.276,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66164,
    "c": 0.21099,
    "h": 324.5
  },
  "luminance": 0.25587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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