#CB4DE2#CB4DE2

#CB4DE2 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.7% C 0.234 H 321.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CB4DE2
RGBrgb(203, 77, 226)
HSLhsl(291, 72%, 59%)
HSVhsv(291, 66%, 89%)
CMYKcmyk(10.2%, 65.9%, 0%, 11.4%)
CIE-LABlab(55.58, 69.28, -52.67)
CIE-LCHlch(55.58, 87.03, 322.75°)
OKLaboklab(64.71% 0.1823 -0.1471)
OKLCHoklch(64.71% 0.234 321.1)
XYZxyz(41.0084, 23.4973, 74.3121)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4DE2 #64E24D
analogous
#804DE2 #CB4DE2 #E24DAF
triadic
#CB4DE2 #E2CB4D #4DE2CB
tetradic
#CB4DE2 #E2804D #64E24D #4DAFE2
square
#CB4DE2 #E2804D #64E24D #4DAFE2
split-complementary
#CB4DE2 #AFE24D #4DE280
monochromatic
#87199B #B522D0 #CB4DE2 #DA82EB #EAB6F3

Accessibility & contrast

On white

3.68
#CB4DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CB4DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4DE2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4DE2#FFFFFF#000000##000000
##CB4DE21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7CE6
Deuteranopia (green-blind)
#5D8ADE
Tritanopia (blue-blind)
#CD6791
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb4de2;
/* rgb */ color: rgb(203, 77, 226);
/* oklch */ color: oklch(64.7% 0.234 321.1);
Tailwind
colors: {
  custom: {
    50: '#de88ec',
    500: '#cb4de2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4de2;
$custom-light: #de88ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4de2",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 290.738,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64708,
    "c": 0.23425,
    "h": 321.1
  },
  "luminance": 0.23495
}

Semantic roles & 50–950 ramp

primary
#CB4DE2
secondary
#B1E2A8
accent
#EF3955
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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