#CB4EEA#CB4EEA

#CB4EEA is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.3% C 0.240 H 319.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CB4EEA
RGBrgb(203, 78, 234)
HSLhsl(288, 79%, 61%)
HSVhsv(288, 67%, 92%)
CMYKcmyk(13.2%, 66.7%, 0%, 8.2%)
CIE-LABlab(56.18, 70.35, -56.22)
CIE-LCHlch(56.18, 90.05, 321.37°)
OKLaboklab(65.28% 0.1811 -0.1574)
OKLCHoklch(65.28% 0.24 319)
XYZxyz(42.2023, 24.0877, 80.2524)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EEA #6DEA4E
analogous
#7D4EEA #CB4EEA #EA4EBB
triadic
#CB4EEA #EACB4E #4EEACB
tetradic
#CB4EEA #EA7D4E #6DEA4E #4EBBEA
square
#CB4EEA #EA7D4E #6DEA4E #4EBBEA
split-complementary
#CB4EEA #BBEA4E #4EEA7D
monochromatic
#8C14A9 #B91BE0 #CB4EEA #DB85F0 #EBBBF7

Accessibility & contrast

On white

3.61
#CB4EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CB4EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EEA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EEA#FFFFFF#000000##000000
##CB4EEA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#087EEF
Deuteranopia (green-blind)
#588BE6
Tritanopia (blue-blind)
#CB6A96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb4eea;
/* rgb */ color: rgb(203, 78, 234);
/* oklch */ color: oklch(65.3% 0.240 319.0);
Tailwind
colors: {
  custom: {
    50: '#df89f1',
    500: '#cb4eea',
    950: '#000000',
  },
}
SCSS
$custom: #cb4eea;
$custom-light: #df89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4eea",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 234
  },
  "hsl": {
    "h": 288.077,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65281,
    "c": 0.23995,
    "h": 319
  },
  "luminance": 0.24086
}

Semantic roles & 50–950 ramp

primary
#CB4EEA
secondary
#B8E7AD
accent
#DB0A34
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CB4EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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