#CB4ED5#CB4ED5

#CB4ED5 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.1% C 0.222 H 324.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CB4ED5
RGBrgb(203, 78, 213)
HSLhsl(296, 62%, 57%)
HSVhsv(296, 63%, 84%)
CMYKcmyk(4.7%, 63.4%, 0%, 16.5%)
CIE-LABlab(55.02, 66.56, -46.20)
CIE-LCHlch(55.02, 81.03, 325.23°)
OKLaboklab(64.08% 0.1811 -0.1282)
OKLCHoklch(64.08% 0.222 324.7)
XYZxyz(39.3623, 22.9517, 65.2947)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4ED5 #58D54E
analogous
#884ED5 #CB4ED5 #D54E9B
triadic
#CB4ED5 #D5CB4E #4ED5CB
tetradic
#CB4ED5 #D5884E #58D54E #4E9BD5
square
#CB4ED5 #D5884E #58D54E #4E9BD5
split-complementary
#CB4ED5 #9BD54E #4ED588
monochromatic
#812088 #AF2CBA #CB4ED5 #DA7FE1 #E8B1EC

Accessibility & contrast

On white

3.76
#CB4ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CB4ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4ED5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4ED5#FFFFFF#000000##000000
##CB4ED51.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#347AD9
Deuteranopia (green-blind)
#6689D1
Tritanopia (blue-blind)
#CF628B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb4ed5;
/* rgb */ color: rgb(203, 78, 213);
/* oklch */ color: oklch(64.1% 0.222 324.7);
Tailwind
colors: {
  custom: {
    50: '#de88e2',
    500: '#cb4ed5',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ed5;
$custom-light: #de88e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ed5",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 295.556,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64078,
    "c": 0.22192,
    "h": 324.7
  },
  "luminance": 0.22949
}

Semantic roles & 50–950 ramp

primary
#CB4ED5
secondary
#A8DBA4
accent
#E5434F
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB4ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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