#CF8EE2#CF8EE2

#CF8EE2 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.1% C 0.136 H 318.4°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#CF8EE2
RGBrgb(207, 142, 226)
HSLhsl(286, 59%, 72%)
HSVhsv(286, 37%, 89%)
CMYKcmyk(8.4%, 37.2%, 0%, 11.4%)
CIE-LABlab(68.10, 38.79, -32.96)
CIE-LCHlch(68.10, 50.90, 319.64°)
OKLaboklab(74.06% 0.1018 -0.0905)
OKLCHoklch(74.06% 0.136 318.4)
XYZxyz(49.1307, 38.1037, 76.7034)
Luminance0.3810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EE2 #A1E28E
analogous
#A58EE2 #CF8EE2 #E28ECB
triadic
#CF8EE2 #E2CF8E #8EE2CF
tetradic
#CF8EE2 #E2A58E #A1E28E #8ECBE2
square
#CF8EE2 #E2A58E #A1E28E #8ECBE2
split-complementary
#CF8EE2 #CBE28E #8EE2A5
monochromatic
#A332C3 #BA5DD6 #CF8EE2 #E4BFEE #F5E7F9

Accessibility & contrast

On white

2.44
#CF8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#CF8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EE2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EE2#FFFFFF#000000##000000
##CF8EE21.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A2E5
Deuteranopia (green-blind)
#92A8DF
Tritanopia (blue-blind)
#CF98AE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8ee2;
/* rgb */ color: rgb(207, 142, 226);
/* oklch */ color: oklch(74.1% 0.136 318.4);
Tailwind
colors: {
  custom: {
    50: '#dfb0eb',
    500: '#cf8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ee2;
$custom-light: #dfb0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ee2",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 286.429,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74057,
    "c": 0.13621,
    "h": 318.4
  },
  "luminance": 0.38102
}

Semantic roles & 50–950 ramp

primary
#CF8EE2
secondary
#E0F0DB
accent
#C71F45
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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