#CF8BE7#CF8BE7

#CF8BE7 is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.8% C 0.147 H 316.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CF8BE7
RGBrgb(207, 139, 231)
HSLhsl(284, 66%, 73%)
HSVhsv(284, 40%, 91%)
CMYKcmyk(10.4%, 39.8%, 0%, 9.4%)
CIE-LABlab(67.65, 41.40, -36.41)
CIE-LCHlch(67.65, 55.14, 318.67°)
OKLaboklab(73.79% 0.1072 -0.1003)
OKLCHoklch(73.79% 0.147 316.9)
XYZxyz(49.3865, 37.5015, 80.2228)
Luminance0.3750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BE7 #A3E78B
analogous
#A18BE7 #CF8BE7 #E78BD1
triadic
#CF8BE7 #E7CF8B #8BE7CF
tetradic
#CF8BE7 #E7A18B #A3E78B #8BD1E7
square
#CF8BE7 #E7A18B #A3E78B #8BD1E7
split-complementary
#CF8BE7 #D1E78B #8BE7A1
monochromatic
#A32ACD #BA58DD #CF8BE7 #E4BEF1 #F5E6FA

Accessibility & contrast

On white

2.47
#CF8BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#CF8BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BE7
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BE7#FFFFFF#000000##000000
##CF8BE71.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA0EA
Deuteranopia (green-blind)
#8EA7E4
Tritanopia (blue-blind)
#CF97AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8be7;
/* rgb */ color: rgb(207, 139, 231);
/* oklch */ color: oklch(73.8% 0.147 316.9);
Tailwind
colors: {
  custom: {
    50: '#dfaeef',
    500: '#cf8be7',
    950: '#000000',
  },
}
SCSS
$custom: #cf8be7;
$custom-light: #dfaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8be7",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 284.348,
    "s": 65.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73789,
    "c": 0.14683,
    "h": 316.9
  },
  "luminance": 0.375
}

Semantic roles & 50–950 ramp

primary
#CF8BE7
secondary
#E0F1DA
accent
#CE1847
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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