#CF8AEE#CF8AEE

#CF8AEE is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.0% C 0.156 H 314.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CF8AEE
RGBrgb(207, 138, 238)
HSLhsl(281, 75%, 74%)
HSVhsv(281, 42%, 93%)
CMYKcmyk(13%, 42%, 0%, 6.7%)
CIE-LABlab(67.74, 43.37, -40.13)
CIE-LCHlch(67.74, 59.08, 317.22°)
OKLaboklab(73.95% 0.11 -0.111)
OKLCHoklch(73.95% 0.156 314.7)
XYZxyz(50.2508, 37.6166, 85.4859)
Luminance0.3761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8AEE #A9EE8A
analogous
#9D8AEE #CF8AEE #EE8ADB
triadic
#CF8AEE #EECF8A #8AEECF
tetradic
#CF8AEE #EE9D8A #A9EE8A #8ADBEE
square
#CF8AEE #EE9D8A #A9EE8A #8ADBEE
split-complementary
#CF8AEE #DBEE8A #8AEE9D
monochromatic
#A320DD #B955E6 #CF8AEE #E5BFF6 #F4E4FB

Accessibility & contrast

On white

2.46
#CF8AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#CF8AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8AEE
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8AEE#FFFFFF#000000##000000
##CF8AEE1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F2
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#CD98B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8aee;
/* rgb */ color: rgb(207, 138, 238);
/* oklch */ color: oklch(74.0% 0.156 314.7);
Tailwind
colors: {
  custom: {
    50: '#dfadf4',
    500: '#cf8aee',
    950: '#000000',
  },
}
SCSS
$custom: #cf8aee;
$custom-light: #dfadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8aee",
  "rgb": {
    "r": 207,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 281.4,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73951,
    "c": 0.15624,
    "h": 314.7
  },
  "luminance": 0.37615
}

Semantic roles & 50–950 ramp

primary
#CF8AEE
secondary
#E0F3D8
accent
#D70F4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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