#CF8BD2#CF8BD2

#CF8BD2 is a light, vivid purple. Relative luminance 0.364; OKLCH L 72.9% C 0.125 H 325.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#CF8BD2
RGBrgb(207, 139, 210)
HSLhsl(297, 44%, 68%)
HSVhsv(297, 34%, 82%)
CMYKcmyk(1.4%, 33.8%, 0%, 17.6%)
CIE-LABlab(66.81, 37.30, -26.08)
CIE-LCHlch(66.81, 45.51, 325.04°)
OKLaboklab(72.88% 0.1024 -0.0709)
OKLCHoklch(72.88% 0.125 325.3)
XYZxyz(46.5965, 36.3855, 65.5289)
Luminance0.3638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BD2 #8ED28B
analogous
#AB8BD2 #CF8BD2 #D28BB1
triadic
#CF8BD2 #D2CF8B #8BD2CF
tetradic
#CF8BD2 #D2AB8B #8ED28B #8BB1D2
square
#CF8BD2 #D2AB8B #8ED28B #8BB1D2
split-complementary
#CF8BD2 #B1D28B #8BD2AB
monochromatic
#9F3FA3 #BD5FC1 #CF8BD2 #E1B7E3 #F3E3F4

Accessibility & contrast

On white

2.54
#CF8BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#CF8BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BD2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BD2#FFFFFF#000000##000000
##CF8BD21.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#859DD5
Deuteranopia (green-blind)
#96A6D0
Tritanopia (blue-blind)
#D392A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf8bd2;
/* rgb */ color: rgb(207, 139, 210);
/* oklch */ color: oklch(72.9% 0.125 325.3);
Tailwind
colors: {
  custom: {
    50: '#dfaee0',
    500: '#cf8bd2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bd2;
$custom-light: #dfaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bd2",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 297.465,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.12459,
    "h": 325.3
  },
  "luminance": 0.36384
}

Semantic roles & 50–950 ramp

primary
#CF8BD2
secondary
#D3E7D2
accent
#B72E34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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