#CB4EE2#CB4EE2

#CB4EE2 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.8% C 0.233 H 321.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CB4EE2
RGBrgb(203, 78, 226)
HSLhsl(291, 72%, 60%)
HSVhsv(291, 65%, 89%)
CMYKcmyk(10.2%, 65.5%, 0%, 11.4%)
CIE-LABlab(55.72, 68.88, -52.44)
CIE-LCHlch(55.72, 86.57, 322.71°)
OKLaboklab(64.81% 0.1813 -0.1464)
OKLCHoklch(64.81% 0.233 321.1)
XYZxyz(41.0789, 23.6384, 74.3356)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EE2 #65E24E
analogous
#814EE2 #CB4EE2 #E24EAF
triadic
#CB4EE2 #E2CB4E #4EE2CB
tetradic
#CB4EE2 #E2814E #65E24E #4EAFE2
square
#CB4EE2 #E2814E #65E24E #4EAFE2
split-complementary
#CB4EE2 #AFE24E #4EE281
monochromatic
#881A9C #B622D1 #CB4EE2 #DA83EB #EAB7F3

Accessibility & contrast

On white

3.67
#CB4EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CB4EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EE2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EE2#FFFFFF#000000##000000
##CB4EE21.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#217DE6
Deuteranopia (green-blind)
#5E8ADE
Tritanopia (blue-blind)
#CD6792
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb4ee2;
/* rgb */ color: rgb(203, 78, 226);
/* oklch */ color: oklch(64.8% 0.233 321.1);
Tailwind
colors: {
  custom: {
    50: '#de88ec',
    500: '#cb4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ee2;
$custom-light: #de88ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ee2",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 290.676,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64811,
    "c": 0.23301,
    "h": 321.1
  },
  "luminance": 0.23636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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