#CF8BEE#CF8BEE

#CF8BEE is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.1% C 0.155 H 314.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CF8BEE
RGBrgb(207, 139, 238)
HSLhsl(281, 74%, 74%)
HSVhsv(281, 42%, 93%)
CMYKcmyk(13%, 41.6%, 0%, 6.7%)
CIE-LABlab(67.95, 42.83, -39.80)
CIE-LCHlch(67.95, 58.47, 317.10°)
OKLaboklab(74.11% 0.1086 -0.11)
OKLCHoklch(74.11% 0.155 314.6)
XYZxyz(50.3949, 37.9049, 85.5340)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BEE #AAEE8B
analogous
#9E8BEE #CF8BEE #EE8BDC
triadic
#CF8BEE #EECF8B #8BEECF
tetradic
#CF8BEE #EE9E8B #AAEE8B #8BDCEE
square
#CF8BEE #EE9E8B #AAEE8B #8BDCEE
split-complementary
#CF8BEE #DCEE8B #8BEE9E
monochromatic
#A321DE #B956E6 #CF8BEE #E5C0F6 #F4E4FB

Accessibility & contrast

On white

2.45
#CF8BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#CF8BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BEE
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BEE#FFFFFF#000000##000000
##CF8BEE1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F2
Deuteranopia (green-blind)
#8BA7EB
Tritanopia (blue-blind)
#CD99B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8bee;
/* rgb */ color: rgb(207, 139, 238);
/* oklch */ color: oklch(74.1% 0.155 314.6);
Tailwind
colors: {
  custom: {
    50: '#dfaef4',
    500: '#cf8bee',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bee;
$custom-light: #dfaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bee",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 281.212,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74111,
    "c": 0.15457,
    "h": 314.6
  },
  "luminance": 0.37904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF8BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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