#CB4EC1#CB4EC1

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

Color values

HEX#CB4EC1
RGBrgb(203, 78, 193)
HSLhsl(305, 55%, 55%)
HSVhsv(305, 62%, 80%)
CMYKcmyk(0%, 61.6%, 4.9%, 20.4%)
CIE-LABlab(54.03, 63.18, -36.34)
CIE-LCHlch(54.03, 72.88, 330.10°)
OKLaboklab(63.03% 0.1798 -0.0997)
OKLCHoklch(63.03% 0.206 331)
XYZxyz(36.9785, 21.9982, 52.7402)
Luminance0.2200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EC1 #4ECB58
analogous
#964ECB #CB4EC1 #CB4E82
triadic
#CB4EC1 #C1CB4E #4EC1CB
tetradic
#CB4EC1 #CB964E #4ECB58 #4E82CB
square
#CB4EC1 #CB964E #4ECB58 #4E82CB
split-complementary
#CB4EC1 #82CB4E #4ECB96
monochromatic
#7B2474 #AA32A0 #CB4EC1 #D97DD2 #E7ADE2

Accessibility & contrast

On white

3.89
#CB4EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CB4EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EC1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EC1#FFFFFF#000000##000000
##CB4EC11.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C4
Deuteranopia (green-blind)
#7087BE
Tritanopia (blue-blind)
#D35A80
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb4ec1;
/* rgb */ color: rgb(203, 78, 193);
/* oklch */ color: oklch(63.0% 0.206 331.0);
Tailwind
colors: {
  custom: {
    50: '#de87d4',
    500: '#cb4ec1',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ec1;
$custom-light: #de87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ec1",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 304.8,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6303,
    "c": 0.20555,
    "h": 331
  },
  "luminance": 0.21996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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