#CB4EC5#CB4EC5

#CB4EC5 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.2% C 0.209 H 329.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CB4EC5
RGBrgb(203, 78, 197)
HSLhsl(303, 55%, 55%)
HSVhsv(303, 62%, 80%)
CMYKcmyk(0%, 61.6%, 3%, 20.4%)
CIE-LABlab(54.22, 63.84, -38.34)
CIE-LCHlch(54.22, 74.46, 329.01°)
OKLaboklab(63.23% 0.1801 -0.1055)
OKLCHoklch(63.23% 0.209 329.7)
XYZxyz(37.4307, 22.1791, 55.1220)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EC5 #4ECB54
analogous
#924ECB #CB4EC5 #CB4E86
triadic
#CB4EC5 #C5CB4E #4EC5CB
tetradic
#CB4EC5 #CB924E #4ECB54 #4E86CB
square
#CB4EC5 #CB924E #4ECB54 #4E86CB
split-complementary
#CB4EC5 #86CB4E #4ECB92
monochromatic
#7B2476 #AA32A4 #CB4EC5 #D97DD5 #E7ADE4

Accessibility & contrast

On white

3.86
#CB4EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CB4EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EC5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EC5#FFFFFF#000000##000000
##CB4EC51.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4377C9
Deuteranopia (green-blind)
#6F88C2
Tritanopia (blue-blind)
#D25C83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb4ec5;
/* rgb */ color: rgb(203, 78, 197);
/* oklch */ color: oklch(63.2% 0.209 329.7);
Tailwind
colors: {
  custom: {
    50: '#de88d7',
    500: '#cb4ec5',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ec5;
$custom-light: #de88d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ec5",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 302.88,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63232,
    "c": 0.20874,
    "h": 329.7
  },
  "luminance": 0.22177
}

Semantic roles & 50–950 ramp

primary
#CB4EC5
secondary
#A0D5A3
accent
#DE514A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB4EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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