#CB8BEA#CB8BEA

#CB8BEA is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.5% C 0.148 H 314.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CB8BEA
RGBrgb(203, 139, 234)
HSLhsl(280, 69%, 73%)
HSVhsv(280, 41%, 92%)
CMYKcmyk(13.2%, 40.6%, 0%, 8.2%)
CIE-LABlab(67.35, 40.84, -38.56)
CIE-LCHlch(67.35, 56.17, 316.65°)
OKLaboklab(73.51% 0.1032 -0.1065)
OKLCHoklch(73.51% 0.148 314.1)
XYZxyz(48.7101, 37.1033, 82.4216)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BEA #AAEA8B
analogous
#9B8BEA #CB8BEA #EA8BD9
triadic
#CB8BEA #EACB8B #8BEACB
tetradic
#CB8BEA #EA9B8B #AAEA8B #8BD9EA
square
#CB8BEA #EA9B8B #AAEA8B #8BD9EA
split-complementary
#CB8BEA #D9EA8B #8BEA9B
monochromatic
#9B26D4 #B457E1 #CB8BEA #E2BFF3 #F3E5FA

Accessibility & contrast

On white

2.49
#CB8BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#CB8BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BEA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BEA#FFFFFF#000000##000000
##CB8BEA1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0ED
Deuteranopia (green-blind)
#8AA6E7
Tritanopia (blue-blind)
#C998AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb8bea;
/* rgb */ color: rgb(203, 139, 234);
/* oklch */ color: oklch(73.5% 0.148 314.1);
Tailwind
colors: {
  custom: {
    50: '#dcaef1',
    500: '#cb8bea',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bea;
$custom-light: #dcaef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bea",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 280.421,
    "s": 69.343,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73511,
    "c": 0.14831,
    "h": 314.1
  },
  "luminance": 0.37102
}

Semantic roles & 50–950 ramp

primary
#CB8BEA
secondary
#E1F2D9
accent
#D11452
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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