#CB4EC2#CB4EC2

#CB4EC2 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.1% C 0.206 H 330.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CB4EC2
RGBrgb(203, 78, 194)
HSLhsl(304, 55%, 55%)
HSVhsv(304, 62%, 80%)
CMYKcmyk(0%, 61.6%, 4.4%, 20.4%)
CIE-LABlab(54.07, 63.34, -36.84)
CIE-LCHlch(54.07, 73.28, 329.82°)
OKLaboklab(63.08% 0.1799 -0.1011)
OKLCHoklch(63.08% 0.206 330.6)
XYZxyz(37.0904, 22.0430, 53.3296)
Luminance0.2204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EC2 #4ECB57
analogous
#954ECB #CB4EC2 #CB4E83
triadic
#CB4EC2 #C2CB4E #4EC2CB
tetradic
#CB4EC2 #CB954E #4ECB57 #4E83CB
square
#CB4EC2 #CB954E #4ECB57 #4E83CB
split-complementary
#CB4EC2 #83CB4E #4ECB95
monochromatic
#7B2474 #AA32A1 #CB4EC2 #D97DD2 #E7ADE3

Accessibility & contrast

On white

3.88
#CB4EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#CB4EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EC2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EC2#FFFFFF#000000##000000
##CB4EC21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C6
Deuteranopia (green-blind)
#7087BF
Tritanopia (blue-blind)
#D25B81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb4ec2;
/* rgb */ color: rgb(203, 78, 194);
/* oklch */ color: oklch(63.1% 0.206 330.6);
Tailwind
colors: {
  custom: {
    50: '#de87d5',
    500: '#cb4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ec2;
$custom-light: #de87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ec2",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 304.32,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6308,
    "c": 0.20635,
    "h": 330.6
  },
  "luminance": 0.2204
}

Semantic roles & 50–950 ramp

primary
#CB4EC2
secondary
#A0D5A4
accent
#DE554A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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