#CB50C9#CB50C9

#CB50C9 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.7% C 0.209 H 328.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CB50C9
RGBrgb(203, 80, 201)
HSLhsl(301, 54%, 55%)
HSVhsv(301, 61%, 80%)
CMYKcmyk(0%, 60.6%, 1%, 20.4%)
CIE-LABlab(54.71, 63.67, -39.85)
CIE-LCHlch(54.71, 75.11, 327.96°)
OKLaboklab(63.66% 0.1781 -0.1098)
OKLCHoklch(63.66% 0.209 328.3)
XYZxyz(38.0394, 22.6534, 57.6160)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50C9 #50CB52
analogous
#9050CB #CB50C9 #CB508B
triadic
#CB50C9 #C9CB50 #50C9CB
tetradic
#CB50C9 #CB9050 #50CB52 #508BCB
square
#CB50C9 #CB9050 #50CB52 #508BCB
split-complementary
#CB50C9 #8BCB50 #50CB90
monochromatic
#7C257A #AB33A9 #CB50C9 #D97FD8 #E7AEE6

Accessibility & contrast

On white

3.80
#CB50C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CB50C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50C9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50C9#FFFFFF#000000##000000
##CB50C91.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CD
Deuteranopia (green-blind)
#6E89C6
Tritanopia (blue-blind)
#D15F85
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb50c9;
/* rgb */ color: rgb(203, 80, 201);
/* oklch */ color: oklch(63.7% 0.209 328.3);
Tailwind
colors: {
  custom: {
    50: '#de89da',
    500: '#cb50c9',
    950: '#000000',
  },
}
SCSS
$custom: #cb50c9;
$custom-light: #de89da;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50c9",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 201
  },
  "hsl": {
    "h": 300.976,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63657,
    "c": 0.20926,
    "h": 328.3
  },
  "luminance": 0.22651
}

Semantic roles & 50–950 ramp

primary
#CB50C9
secondary
#A2D5A3
accent
#DE4D4A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB50C9

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

Preview Lab → · Contrast checker → · Palette generator →

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