#CF8DEF#CF8DEF

#CF8DEF is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.5% C 0.152 H 314.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CF8DEF
RGBrgb(207, 141, 239)
HSLhsl(280, 75%, 75%)
HSVhsv(280, 41%, 94%)
CMYKcmyk(13.4%, 41%, 0%, 6.3%)
CIE-LABlab(68.42, 41.97, -39.61)
CIE-LCHlch(68.42, 57.71, 316.66°)
OKLaboklab(74.48% 0.1059 -0.1095)
OKLCHoklch(74.48% 0.152 314.1)
XYZxyz(50.8345, 38.5483, 86.4073)
Luminance0.3855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DEF #ADEF8D
analogous
#9E8DEF #CF8DEF #EF8DDE
triadic
#CF8DEF #EFCF8D #8DEFCF
tetradic
#CF8DEF #EF9E8D #ADEF8D #8DDEEF
square
#CF8DEF #EF9E8D #ADEF8D #8DDEEF
split-complementary
#CF8DEF #DEEF8D #8DEF9E
monochromatic
#A222E0 #B857E7 #CF8DEF #E6C3F7 #F4E4FB

Accessibility & contrast

On white

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

On black

8.71
#CF8DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DEF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DEF#FFFFFF#000000##000000
##CF8DEF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F3
Deuteranopia (green-blind)
#8CA9EC
Tritanopia (blue-blind)
#CD9BB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8def;
/* rgb */ color: rgb(207, 141, 239);
/* oklch */ color: oklch(74.5% 0.152 314.1);
Tailwind
colors: {
  custom: {
    50: '#dfaff4',
    500: '#cf8def',
    950: '#000000',
  },
}
SCSS
$custom: #cf8def;
$custom-light: #dfaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8def",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 280.408,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7448,
    "c": 0.15235,
    "h": 314.1
  },
  "luminance": 0.38547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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