#CF8BE8#CF8BE8

#CF8BE8 is a light, vivid purple. Relative luminance 0.376; OKLCH L 73.8% C 0.148 H 316.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CF8BE8
RGBrgb(207, 139, 232)
HSLhsl(284, 67%, 73%)
HSVhsv(284, 40%, 91%)
CMYKcmyk(10.8%, 40.1%, 0%, 9%)
CIE-LABlab(67.69, 41.60, -36.90)
CIE-LCHlch(67.69, 55.61, 318.43°)
OKLaboklab(73.83% 0.1074 -0.1017)
OKLCHoklch(73.83% 0.148 316.6)
XYZxyz(49.5281, 37.5581, 80.9687)
Luminance0.3756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BE8 #A4E88B
analogous
#A08BE8 #CF8BE8 #E88BD2
triadic
#CF8BE8 #E8CF8B #8BE8CF
tetradic
#CF8BE8 #E8A08B #A4E88B #8BD2E8
square
#CF8BE8 #E8A08B #A4E88B #8BD2E8
split-complementary
#CF8BE8 #D2E88B #8BE8A0
monochromatic
#A329CF #BA58DE #CF8BE8 #E4BEF2 #F4E5FA

Accessibility & contrast

On white

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

On black

8.51
#CF8BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BE8
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BE8#FFFFFF#000000##000000
##CF8BE81.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA1EB
Deuteranopia (green-blind)
#8DA7E5
Tritanopia (blue-blind)
#CE97AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8be8;
/* rgb */ color: rgb(207, 139, 232);
/* oklch */ color: oklch(73.8% 0.148 316.6);
Tailwind
colors: {
  custom: {
    50: '#dfaeef',
    500: '#cf8be8',
    950: '#000000',
  },
}
SCSS
$custom: #cf8be8;
$custom-light: #dfaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8be8",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 232
  },
  "hsl": {
    "h": 283.871,
    "s": 66.906,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73834,
    "c": 0.14793,
    "h": 316.6
  },
  "luminance": 0.37557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF8BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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