#CF8BE3#CF8BE3

#CF8BE3 is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.6% C 0.142 H 318.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#CF8BE3
RGBrgb(207, 139, 227)
HSLhsl(286, 61%, 72%)
HSVhsv(286, 39%, 89%)
CMYKcmyk(8.8%, 38.8%, 0%, 11%)
CIE-LABlab(67.49, 40.60, -34.46)
CIE-LCHlch(67.49, 53.25, 319.67°)
OKLaboklab(73.61% 0.1064 -0.0947)
OKLCHoklch(73.61% 0.142 318.3)
XYZxyz(48.8280, 37.2781, 77.2814)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BE3 #9FE38B
analogous
#A38BE3 #CF8BE3 #E38BCB
triadic
#CF8BE3 #E3CF8B #8BE3CF
tetradic
#CF8BE3 #E3A38B #9FE38B #8BCBE3
square
#CF8BE3 #E3A38B #9FE38B #8BCBE3
split-complementary
#CF8BE3 #CBE38B #8BE3A3
monochromatic
#A22FC4 #BB5AD7 #CF8BE3 #E3BCEF #F5E6F9

Accessibility & contrast

On white

2.48
#CF8BE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#CF8BE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BE3
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BE3#FFFFFF#000000##000000
##CF8BE31.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E6
Deuteranopia (green-blind)
#8FA7E0
Tritanopia (blue-blind)
#CF96AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf8be3;
/* rgb */ color: rgb(207, 139, 227);
/* oklch */ color: oklch(73.6% 0.142 318.3);
Tailwind
colors: {
  custom: {
    50: '#dfaeec',
    500: '#cf8be3',
    950: '#000000',
  },
}
SCSS
$custom: #cf8be3;
$custom-light: #dfaeec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8be3",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 227
  },
  "hsl": {
    "h": 286.364,
    "s": 61.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73609,
    "c": 0.14246,
    "h": 318.3
  },
  "luminance": 0.37277
}

Semantic roles & 50–950 ramp

primary
#CF8BE3
secondary
#DFF0DA
accent
#C91D44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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