#CF8BEA#CF8BEA

#CF8BEA is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.9% C 0.150 H 315.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CF8BEA
RGBrgb(207, 139, 234)
HSLhsl(283, 69%, 73%)
HSVhsv(283, 41%, 92%)
CMYKcmyk(11.5%, 40.6%, 0%, 8.2%)
CIE-LABlab(67.78, 42.01, -37.87)
CIE-LCHlch(67.78, 56.56, 317.97°)
OKLaboklab(73.93% 0.1078 -0.1045)
OKLCHoklch(73.93% 0.15 315.9)
XYZxyz(49.8138, 37.6724, 82.4734)
Luminance0.3767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BEA #A6EA8B
analogous
#9F8BEA #CF8BEA #EA8BD6
triadic
#CF8BEA #EACF8B #8BEACF
tetradic
#CF8BEA #EA9F8B #A6EA8B #8BD6EA
square
#CF8BEA #EA9F8B #A6EA8B #8BD6EA
split-complementary
#CF8BEA #D6EA8B #8BEA9F
monochromatic
#A326D4 #BA57E1 #CF8BEA #E4BFF3 #F4E5FA

Accessibility & contrast

On white

2.46
#CF8BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CF8BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BEA
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BEA#FFFFFF#000000##000000
##CF8BEA1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1ED
Deuteranopia (green-blind)
#8CA7E7
Tritanopia (blue-blind)
#CE98B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8bea;
/* rgb */ color: rgb(207, 139, 234);
/* oklch */ color: oklch(73.9% 0.150 315.9);
Tailwind
colors: {
  custom: {
    50: '#dfaef1',
    500: '#cf8bea',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bea;
$custom-light: #dfaef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bea",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 282.947,
    "s": 69.343,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73926,
    "c": 0.15013,
    "h": 315.9
  },
  "luminance": 0.37671
}

Semantic roles & 50–950 ramp

primary
#CF8BEA
secondary
#E0F2D9
accent
#D1144A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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