#CF8EEF#CF8EEF

#CF8EEF is a light, vivid purple. Relative luminance 0.388; OKLCH L 74.6% C 0.151 H 313.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CF8EEF
RGBrgb(207, 142, 239)
HSLhsl(280, 75%, 75%)
HSVhsv(280, 41%, 94%)
CMYKcmyk(13.4%, 40.6%, 0%, 6.3%)
CIE-LABlab(68.64, 41.43, -39.27)
CIE-LCHlch(68.64, 57.09, 316.53°)
OKLaboklab(74.64% 0.1045 -0.1085)
OKLCHoklch(74.64% 0.151 313.9)
XYZxyz(50.9826, 38.8445, 86.4567)
Luminance0.3884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EEF #AEEF8E
analogous
#9F8EEF #CF8EEF #EF8EDF
triadic
#CF8EEF #EFCF8E #8EEFCF
tetradic
#CF8EEF #EF9F8E #AEEF8E #8EDFEF
square
#CF8EEF #EF9F8E #AEEF8E #8EDFEF
split-complementary
#CF8EEF #DFEF8E #8EEF9F
monochromatic
#A123E0 #B858E7 #CF8EEF #E6C4F7 #F4E4FB

Accessibility & contrast

On white

2.39
#CF8EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CF8EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EEF
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EEF#FFFFFF#000000##000000
##CF8EEF1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F3
Deuteranopia (green-blind)
#8DA9EC
Tritanopia (blue-blind)
#CD9CB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8eef;
/* rgb */ color: rgb(207, 142, 239);
/* oklch */ color: oklch(74.6% 0.151 313.9);
Tailwind
colors: {
  custom: {
    50: '#dfb0f4',
    500: '#cf8eef',
    950: '#000000',
  },
}
SCSS
$custom: #cf8eef;
$custom-light: #dfb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8eef",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 280.206,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74642,
    "c": 0.15068,
    "h": 313.9
  },
  "luminance": 0.38843
}

Semantic roles & 50–950 ramp

primary
#CF8EEF
secondary
#E1F3D8
accent
#D70E51
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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