#CF8BDB#CF8BDB

#CF8BDB is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.3% C 0.134 H 321.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CF8BDB
RGBrgb(207, 139, 219)
HSLhsl(291, 53%, 70%)
HSVhsv(291, 37%, 86%)
CMYKcmyk(5.5%, 36.5%, 0%, 14.1%)
CIE-LABlab(67.16, 39.02, -30.54)
CIE-LCHlch(67.16, 49.55, 321.95°)
OKLaboklab(73.26% 0.1046 -0.0835)
OKLCHoklch(73.26% 0.134 321.4)
XYZxyz(47.7494, 36.8467, 71.6009)
Luminance0.3684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BDB #97DB8B
analogous
#A78BDB #CF8BDB #DB8BBF
triadic
#CF8BDB #DBCF8B #8BDBCF
tetradic
#CF8BDB #DBA78B #97DB8B #8BBFDB
square
#CF8BDB #DBA78B #97DB8B #8BBFDB
split-complementary
#CF8BDB #BFDB8B #8BDBA7
monochromatic
#A138B4 #BC5CCD #CF8BDB #E2BAE9 #F5E8F8

Accessibility & contrast

On white

2.51
#CF8BDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#CF8BDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BDB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BDB#FFFFFF#000000##000000
##CF8BDB1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#829FDE
Deuteranopia (green-blind)
#93A6D8
Tritanopia (blue-blind)
#D194A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf8bdb;
/* rgb */ color: rgb(207, 139, 219);
/* oklch */ color: oklch(73.3% 0.134 321.4);
Tailwind
colors: {
  custom: {
    50: '#dfaee6',
    500: '#cf8bdb',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bdb;
$custom-light: #dfaee6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bdb",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 219
  },
  "hsl": {
    "h": 291,
    "s": 52.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73259,
    "c": 0.13389,
    "h": 321.4
  },
  "luminance": 0.36845
}

Semantic roles & 50–950 ramp

primary
#CF8BDB
secondary
#D9ECD6
accent
#C0253D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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