#CF8BDF#CF8BDF

#CF8BDF is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.4% C 0.138 H 319.8°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#CF8BDF
RGBrgb(207, 139, 223)
HSLhsl(289, 57%, 71%)
HSVhsv(289, 38%, 87%)
CMYKcmyk(7.2%, 37.7%, 0%, 12.5%)
CIE-LABlab(67.32, 39.81, -32.51)
CIE-LCHlch(67.32, 51.39, 320.76°)
OKLaboklab(73.43% 0.1055 -0.0891)
OKLCHoklch(73.43% 0.138 319.8)
XYZxyz(48.2823, 37.0598, 74.4076)
Luminance0.3706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BDF #9BDF8B
analogous
#A58BDF #CF8BDF #DF8BC5
triadic
#CF8BDF #DFCF8B #8BDFCF
tetradic
#CF8BDF #DFA58B #9BDF8B #8BC5DF
square
#CF8BDF #DFA58B #9BDF8B #8BC5DF
split-complementary
#CF8BDF #C5DF8B #8BDFA5
monochromatic
#A234BC #BB5BD2 #CF8BDF #E3BBEC #F5E7F8

Accessibility & contrast

On white

2.50
#CF8BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#CF8BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BDF
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BDF#FFFFFF#000000##000000
##CF8BDF1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#809FE2
Deuteranopia (green-blind)
#91A6DC
Tritanopia (blue-blind)
#D095AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf8bdf;
/* rgb */ color: rgb(207, 139, 223);
/* oklch */ color: oklch(73.4% 0.138 319.8);
Tailwind
colors: {
  custom: {
    50: '#dfaee9',
    500: '#cf8bdf',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bdf;
$custom-light: #dfaee9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bdf",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 223
  },
  "hsl": {
    "h": 288.571,
    "s": 56.757,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73432,
    "c": 0.13815,
    "h": 319.8
  },
  "luminance": 0.37058
}

Semantic roles & 50–950 ramp

primary
#CF8BDF
secondary
#DCEED8
accent
#C42140
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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