#CF8AEB#CF8AEB

#CF8AEB is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.8% C 0.153 H 315.7°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CF8AEB
RGBrgb(207, 138, 235)
HSLhsl(283, 71%, 73%)
HSVhsv(283, 41%, 92%)
CMYKcmyk(11.9%, 41.3%, 0%, 7.8%)
CIE-LABlab(67.61, 42.75, -38.68)
CIE-LCHlch(67.61, 57.65, 317.86°)
OKLaboklab(73.81% 0.1094 -0.1068)
OKLCHoklch(73.81% 0.153 315.7)
XYZxyz(49.8137, 37.4418, 83.1841)
Luminance0.3744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8AEB #A6EB8A
analogous
#9E8AEB #CF8AEB #EB8AD7
triadic
#CF8AEB #EBCF8A #8AEBCF
tetradic
#CF8AEB #EB9E8A #A6EB8A #8AD7EB
square
#CF8AEB #EB9E8A #A6EB8A #8AD7EB
split-complementary
#CF8AEB #D7EB8A #8AEB9E
monochromatic
#A325D6 #BA56E2 #CF8AEB #E4BEF4 #F4E5FB

Accessibility & contrast

On white

2.47
#CF8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CF8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8AEB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8AEB#FFFFFF#000000##000000
##CF8AEB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EF
Deuteranopia (green-blind)
#8BA7E8
Tritanopia (blue-blind)
#CE97AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8aeb;
/* rgb */ color: rgb(207, 138, 235);
/* oklch */ color: oklch(73.8% 0.153 315.7);
Tailwind
colors: {
  custom: {
    50: '#dfadf2',
    500: '#cf8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #cf8aeb;
$custom-light: #dfadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8aeb",
  "rgb": {
    "r": 207,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 282.68,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73811,
    "c": 0.15292,
    "h": 315.7
  },
  "luminance": 0.37441
}

Semantic roles & 50–950 ramp

primary
#CF8AEB
secondary
#E0F2D9
accent
#D3134A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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