#CF8BE2#CF8BE2

#CF8BE2 is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.6% C 0.141 H 318.7°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CF8BE2
RGBrgb(207, 139, 226)
HSLhsl(287, 60%, 72%)
HSVhsv(287, 38%, 89%)
CMYKcmyk(8.4%, 38.5%, 0%, 11.4%)
CIE-LABlab(67.44, 40.40, -33.97)
CIE-LCHlch(67.44, 52.79, 319.94°)
OKLaboklab(73.56% 0.1062 -0.0933)
OKLCHoklch(73.56% 0.141 318.7)
XYZxyz(48.6904, 37.2230, 76.5566)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BE2 #9EE28B
analogous
#A48BE2 #CF8BE2 #E28BCA
triadic
#CF8BE2 #E2CF8B #8BE2CF
tetradic
#CF8BE2 #E2A48B #9EE28B #8BCAE2
square
#CF8BE2 #E2A48B #9EE28B #8BCAE2
split-complementary
#CF8BE2 #CAE28B #8BE2A4
monochromatic
#A231C2 #BB5AD6 #CF8BE2 #E3BCEE #F5E7F9

Accessibility & contrast

On white

2.49
#CF8BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CF8BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BE2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BE2#FFFFFF#000000##000000
##CF8BE21.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA0E5
Deuteranopia (green-blind)
#90A7DF
Tritanopia (blue-blind)
#D096AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf8be2;
/* rgb */ color: rgb(207, 139, 226);
/* oklch */ color: oklch(73.6% 0.141 318.7);
Tailwind
colors: {
  custom: {
    50: '#dfaeeb',
    500: '#cf8be2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8be2;
$custom-light: #dfaeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8be2",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 286.897,
    "s": 60,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73564,
    "c": 0.14137,
    "h": 318.7
  },
  "luminance": 0.37222
}

Semantic roles & 50–950 ramp

primary
#CF8BE2
secondary
#DEF0D9
accent
#C81E43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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