#CF8DEE#CF8DEE

#CF8DEE is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.4% C 0.151 H 314.4°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#CF8DEE
RGBrgb(207, 141, 238)
HSLhsl(281, 74%, 74%)
HSVhsv(281, 41%, 93%)
CMYKcmyk(13%, 40.8%, 0%, 6.7%)
CIE-LABlab(68.38, 41.76, -39.13)
CIE-LCHlch(68.38, 57.23, 316.87°)
OKLaboklab(74.43% 0.1058 -0.1081)
OKLCHoklch(74.43% 0.151 314.4)
XYZxyz(50.6872, 38.4893, 85.6314)
Luminance0.3849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DEE #ACEE8D
analogous
#9F8DEE #CF8DEE #EE8DDD
triadic
#CF8DEE #EECF8D #8DEECF
tetradic
#CF8DEE #EE9F8D #ACEE8D #8DDDEE
square
#CF8DEE #EE9F8D #ACEE8D #8DDDEE
split-complementary
#CF8DEE #DDEE8D #8DEE9F
monochromatic
#A222DE #B958E6 #CF8DEE #E5C2F6 #F4E4FB

Accessibility & contrast

On white

2.41
#CF8DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#CF8DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DEE
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DEE#FFFFFF#000000##000000
##CF8DEE1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#8CA9EB
Tritanopia (blue-blind)
#CD9AB2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8dee;
/* rgb */ color: rgb(207, 141, 238);
/* oklch */ color: oklch(74.4% 0.151 314.4);
Tailwind
colors: {
  custom: {
    50: '#dfaff4',
    500: '#cf8dee',
    950: '#000000',
  },
}
SCSS
$custom: #cf8dee;
$custom-light: #dfaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8dee",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 280.825,
    "s": 74.046,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74434,
    "c": 0.15123,
    "h": 314.4
  },
  "luminance": 0.38488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF8DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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