#CF8EE8#CF8EE8

#CF8EE8 is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.3% C 0.143 H 316.2°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#CF8EE8
RGBrgb(207, 142, 232)
HSLhsl(283, 66%, 73%)
HSVhsv(283, 39%, 91%)
CMYKcmyk(10.8%, 38.8%, 0%, 9%)
CIE-LABlab(68.34, 40.00, -35.89)
CIE-LCHlch(68.34, 53.74, 318.10°)
OKLaboklab(74.32% 0.1031 -0.0988)
OKLCHoklch(74.32% 0.143 316.2)
XYZxyz(49.9684, 38.4388, 81.1155)
Luminance0.3844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EE8 #A7E88E
analogous
#A28EE8 #CF8EE8 #E88ED4
triadic
#CF8EE8 #E8CF8E #8EE8CF
tetradic
#CF8EE8 #E8A28E #A7E88E #8ED4E8
square
#CF8EE8 #E8A28E #A7E88E #8ED4E8
split-complementary
#CF8EE8 #D4E88E #8EE8A2
monochromatic
#A32BD1 #B95BDE #CF8EE8 #E5C1F2 #F4E6FA

Accessibility & contrast

On white

2.42
#CF8EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#CF8EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EE8
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EE8#FFFFFF#000000##000000
##CF8EE81.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A3EB
Deuteranopia (green-blind)
#90A9E5
Tritanopia (blue-blind)
#CE9AB0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8ee8;
/* rgb */ color: rgb(207, 142, 232);
/* oklch */ color: oklch(74.3% 0.143 316.2);
Tailwind
colors: {
  custom: {
    50: '#dfb0ef',
    500: '#cf8ee8',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ee8;
$custom-light: #dfb0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ee8",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 283.333,
    "s": 66.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74323,
    "c": 0.14283,
    "h": 316.2
  },
  "luminance": 0.38438
}

Semantic roles & 50–950 ramp

primary
#CF8EE8
secondary
#E0F1DA
accent
#CE174A
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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