#CF5FD9#CF5FD9

#CF5FD9 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.8% C 0.204 H 324.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CF5FD9
RGBrgb(207, 95, 217)
HSLhsl(295, 62%, 61%)
HSVhsv(295, 56%, 85%)
CMYKcmyk(4.6%, 56.2%, 0%, 14.9%)
CIE-LABlab(58.47, 60.88, -42.98)
CIE-LCHlch(58.47, 74.52, 324.78°)
OKLaboklab(66.77% 0.1655 -0.1189)
OKLCHoklch(66.77% 0.204 324.3)
XYZxyz(42.3476, 26.4618, 68.5093)
Luminance0.2646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FD9 #69D95F
analogous
#925FD9 #CF5FD9 #D95FA6
triadic
#CF5FD9 #D9CF5F #5FD9CF
tetradic
#CF5FD9 #D9925F #69D95F #5FA6D9
square
#CF5FD9 #D9925F #69D95F #5FA6D9
split-complementary
#CF5FD9 #A6D95F #5FD992
monochromatic
#902499 #BE30CB #CF5FD9 #DE90E5 #EDC2F0

Accessibility & contrast

On white

3.34
#CF5FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CF5FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FD9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FD9#FFFFFF#000000##000000
##CF5FD91.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D84DD
Deuteranopia (green-blind)
#7291D6
Tritanopia (blue-blind)
#D36F93
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5fd9;
/* rgb */ color: rgb(207, 95, 217);
/* oklch */ color: oklch(66.8% 0.204 324.3);
Tailwind
colors: {
  custom: {
    50: '#e092e5',
    500: '#cf5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fd9;
$custom-light: #e092e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fd9",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 295.082,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66768,
    "c": 0.20376,
    "h": 324.3
  },
  "luminance": 0.2646
}

Semantic roles & 50–950 ramp

primary
#CF5FD9
secondary
#B7E1B3
accent
#C91C2A
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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