#CB5BEA#CB5BEA

#CB5BEA is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.7% C 0.223 H 318.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CB5BEA
RGBrgb(203, 91, 234)
HSLhsl(287, 77%, 64%)
HSVhsv(287, 61%, 92%)
CMYKcmyk(13.2%, 61.1%, 0%, 8.2%)
CIE-LABlab(58.15, 64.87, -53.07)
CIE-LCHlch(58.15, 83.81, 320.71°)
OKLaboklab(66.71% 0.1666 -0.1483)
OKLCHoklch(66.71% 0.223 318.3)
XYZxyz(43.2189, 26.1210, 80.5912)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BEA #7AEA5B
analogous
#835BEA #CB5BEA #EA5BC1
triadic
#CB5BEA #EACB5B #5BEACB
tetradic
#CB5BEA #EA835B #7AEA5B #5BC1EA
square
#CB5BEA #EA835B #7AEA5B #5BC1EA
split-complementary
#CB5BEA #C1EA5B #5BEA83
monochromatic
#9217B4 #BA25E3 #CB5BEA #DC91F1 #EDC8F8

Accessibility & contrast

On white

3.37
#CB5BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CB5BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BEA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BEA#FFFFFF#000000##000000
##CB5BEA1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384EE
Deuteranopia (green-blind)
#628FE6
Tritanopia (blue-blind)
#CB739A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5bea;
/* rgb */ color: rgb(203, 91, 234);
/* oklch */ color: oklch(66.7% 0.223 318.3);
Tailwind
colors: {
  custom: {
    50: '#de90f1',
    500: '#cb5bea',
    950: '#000000',
  },
}
SCSS
$custom: #cb5bea;
$custom-light: #de90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5bea",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 286.993,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66707,
    "c": 0.22305,
    "h": 318.3
  },
  "luminance": 0.26119
}

Semantic roles & 50–950 ramp

primary
#CB5BEA
secondary
#C2EAB7
accent
#DA0C39
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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