#CB8BE2#CB8BE2

#CB8BE2 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.1% C 0.139 H 316.8°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CB8BE2
RGBrgb(203, 139, 226)
HSLhsl(284, 60%, 72%)
HSVhsv(284, 38%, 89%)
CMYKcmyk(10.2%, 38.5%, 0%, 11.4%)
CIE-LABlab(67.02, 39.20, -34.67)
CIE-LCHlch(67.02, 52.33, 318.51°)
OKLaboklab(73.15% 0.1016 -0.0954)
OKLCHoklch(73.15% 0.139 316.8)
XYZxyz(47.5867, 36.6540, 76.5049)
Luminance0.3665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BE2 #A2E28B
analogous
#A08BE2 #CB8BE2 #E28BCE
triadic
#CB8BE2 #E2CB8B #8BE2CB
tetradic
#CB8BE2 #E2A08B #A2E28B #8BCEE2
square
#CB8BE2 #E2A08B #A2E28B #8BCEE2
split-complementary
#CB8BE2 #CEE28B #8BE2A0
monochromatic
#9C31C2 #B55AD6 #CB8BE2 #E1BCEE #F4E7F9

Accessibility & contrast

On white

2.52
#CB8BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#CB8BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BE2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BE2#FFFFFF#000000##000000
##CB8BE21.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9FE5
Deuteranopia (green-blind)
#8DA5DF
Tritanopia (blue-blind)
#CB96AC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb8be2;
/* rgb */ color: rgb(203, 139, 226);
/* oklch */ color: oklch(73.1% 0.139 316.8);
Tailwind
colors: {
  custom: {
    50: '#dcaeeb',
    500: '#cb8be2',
    950: '#000000',
  },
}
SCSS
$custom: #cb8be2;
$custom-light: #dcaeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8be2",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 284.138,
    "s": 60,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73146,
    "c": 0.13934,
    "h": 316.8
  },
  "luminance": 0.36653
}

Semantic roles & 50–950 ramp

primary
#CB8BE2
secondary
#DFF0D9
accent
#C81E4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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