#CB50C5#CB50C5

#CB50C5 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.5% C 0.206 H 329.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CB50C5
RGBrgb(203, 80, 197)
HSLhsl(303, 54%, 55%)
HSVhsv(303, 61%, 80%)
CMYKcmyk(0%, 60.6%, 3%, 20.4%)
CIE-LABlab(54.52, 63.00, -37.86)
CIE-LCHlch(54.52, 73.50, 329.00°)
OKLaboklab(63.45% 0.1778 -0.1041)
OKLCHoklch(63.45% 0.206 329.6)
XYZxyz(37.5750, 22.4676, 55.1701)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50C5 #50CB56
analogous
#9350CB #CB50C5 #CB5087
triadic
#CB50C5 #C5CB50 #50C5CB
tetradic
#CB50C5 #CB9350 #50CB56 #5087CB
square
#CB50C5 #CB9350 #50CB56 #5087CB
split-complementary
#CB50C5 #87CB50 #50CB93
monochromatic
#7C2578 #AB33A5 #CB50C5 #D97FD5 #E7AEE4

Accessibility & contrast

On white

3.82
#CB50C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CB50C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50C5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50C5#FFFFFF#000000##000000
##CB50C51.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4678C9
Deuteranopia (green-blind)
#7088C2
Tritanopia (blue-blind)
#D25D83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb50c5;
/* rgb */ color: rgb(203, 80, 197);
/* oklch */ color: oklch(63.5% 0.206 329.6);
Tailwind
colors: {
  custom: {
    50: '#de89d7',
    500: '#cb50c5',
    950: '#000000',
  },
}
SCSS
$custom: #cb50c5;
$custom-light: #de89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50c5",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 197
  },
  "hsl": {
    "h": 302.927,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63453,
    "c": 0.20599,
    "h": 329.6
  },
  "luminance": 0.22465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB50C5

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

Preview Lab → · Contrast checker → · Palette generator →

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