#CF81DF#CF81DF

#CF81DF is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.8% C 0.155 H 320.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#CF81DF
RGBrgb(207, 129, 223)
HSLhsl(290, 59%, 69%)
HSVhsv(290, 42%, 87%)
CMYKcmyk(7.2%, 42.2%, 0%, 12.5%)
CIE-LABlab(65.20, 45.12, -35.81)
CIE-LCHlch(65.20, 57.60, 321.57°)
OKLaboklab(71.84% 0.12 -0.0985)
OKLCHoklch(71.84% 0.155 320.6)
XYZxyz(46.9000, 34.2953, 73.9469)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF81DF #91DF81
analogous
#A081DF #CF81DF #DF81C0
triadic
#CF81DF #DFCF81 #81DFCF
tetradic
#CF81DF #DFA081 #91DF81 #81C0DF
square
#CF81DF #DFA081 #91DF81 #81C0DF
split-complementary
#CF81DF #C0DF81 #81DFA0
monochromatic
#A02FB7 #BC50D3 #CF81DF #E2B2EB #F4E3F8

Accessibility & contrast

On white

2.67
#CF81DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#CF81DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF81DF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF81DF#FFFFFF#000000##000000
##CF81DF1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#89A1DC
Tritanopia (blue-blind)
#D18DA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf81df;
/* rgb */ color: rgb(207, 129, 223);
/* oklch */ color: oklch(71.8% 0.155 320.6);
Tailwind
colors: {
  custom: {
    50: '#dfa7e9',
    500: '#cf81df',
    950: '#000000',
  },
}
SCSS
$custom: #cf81df;
$custom-light: #dfa7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf81df",
  "rgb": {
    "r": 207,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 289.787,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71835,
    "c": 0.15524,
    "h": 320.6
  },
  "luminance": 0.34294
}

Semantic roles & 50–950 ramp

primary
#CF81DF
secondary
#D5ECD0
accent
#C71E3B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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