#CB50C4#CB50C4

#CB50C4 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.4% C 0.205 H 330.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CB50C4
RGBrgb(203, 80, 196)
HSLhsl(303, 54%, 55%)
HSVhsv(303, 61%, 80%)
CMYKcmyk(0%, 60.6%, 3.4%, 20.4%)
CIE-LABlab(54.47, 62.83, -37.36)
CIE-LCHlch(54.47, 73.10, 329.26°)
OKLaboklab(63.4% 0.1777 -0.1027)
OKLCHoklch(63.4% 0.205 330)
XYZxyz(37.4608, 22.4219, 54.5686)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50C4 #50CB57
analogous
#9550CB #CB50C4 #CB5086
triadic
#CB50C4 #C4CB50 #50C4CB
tetradic
#CB50C4 #CB9550 #50CB57 #5086CB
square
#CB50C4 #CB9550 #50CB57 #5086CB
split-complementary
#CB50C4 #86CB50 #50CB95
monochromatic
#7C2577 #AB33A4 #CB50C4 #D97FD4 #E7AEE4

Accessibility & contrast

On white

3.83
#CB50C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CB50C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50C4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50C4#FFFFFF#000000##000000
##CB50C41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4778C8
Deuteranopia (green-blind)
#7088C1
Tritanopia (blue-blind)
#D25D83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb50c4;
/* rgb */ color: rgb(203, 80, 196);
/* oklch */ color: oklch(63.4% 0.205 330.0);
Tailwind
colors: {
  custom: {
    50: '#de89d6',
    500: '#cb50c4',
    950: '#000000',
  },
}
SCSS
$custom: #cb50c4;
$custom-light: #de89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50c4",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 196
  },
  "hsl": {
    "h": 303.415,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63402,
    "c": 0.20518,
    "h": 330
  },
  "luminance": 0.22419
}

Semantic roles & 50–950 ramp

primary
#CB50C4
secondary
#A2D5A5
accent
#DE534A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150C14
muted
#847D83

Preview Lab

Preview with #CB50C4

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

Preview Lab → · Contrast checker → · Palette generator →

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