#CB50C1#CB50C1

#CB50C1 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.3% C 0.203 H 331.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CB50C1
RGBrgb(203, 80, 193)
HSLhsl(305, 54%, 55%)
HSVhsv(305, 61%, 80%)
CMYKcmyk(0%, 60.6%, 4.9%, 20.4%)
CIE-LABlab(54.33, 62.34, -35.86)
CIE-LCHlch(54.33, 71.92, 330.09°)
OKLaboklab(63.25% 0.1773 -0.0984)
OKLCHoklch(63.25% 0.203 331)
XYZxyz(37.1227, 22.2867, 52.7883)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50C1 #50CB5A
analogous
#9750CB #CB50C1 #CB5083
triadic
#CB50C1 #C1CB50 #50C1CB
tetradic
#CB50C1 #CB9750 #50CB5A #5083CB
square
#CB50C1 #CB9750 #50CB5A #5083CB
split-complementary
#CB50C1 #83CB50 #50CB97
monochromatic
#7C2575 #AB33A1 #CB50C1 #D97FD2 #E7AEE2

Accessibility & contrast

On white

3.85
#CB50C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CB50C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50C1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50C1#FFFFFF#000000##000000
##CB50C11.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4977C4
Deuteranopia (green-blind)
#7288BE
Tritanopia (blue-blind)
#D35C81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb50c1;
/* rgb */ color: rgb(203, 80, 193);
/* oklch */ color: oklch(63.3% 0.203 331.0);
Tailwind
colors: {
  custom: {
    50: '#de89d4',
    500: '#cb50c1',
    950: '#000000',
  },
}
SCSS
$custom: #cb50c1;
$custom-light: #de89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50c1",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 193
  },
  "hsl": {
    "h": 304.878,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63253,
    "c": 0.20279,
    "h": 331
  },
  "luminance": 0.22284
}

Semantic roles & 50–950 ramp

primary
#CB50C1
secondary
#A2D5A6
accent
#DE564A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150C14
muted
#847D83

Preview Lab

Preview with #CB50C1

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

Preview Lab → · Contrast checker → · Palette generator →

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