#CB50CB#CB50CB

#CB50CB is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.8% C 0.211 H 327.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CB50CB
RGBrgb(203, 80, 203)
HSLhsl(300, 54%, 55%)
HSVhsv(300, 61%, 80%)
CMYKcmyk(0%, 60.6%, 0%, 20.4%)
CIE-LABlab(54.81, 64.01, -40.84)
CIE-LCHlch(54.81, 75.93, 327.46°)
OKLaboklab(63.76% 0.1783 -0.1127)
OKLCHoklch(63.76% 0.211 327.7)
XYZxyz(38.2762, 22.7481, 58.8631)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50CB #50CB50
analogous
#8D50CB #CB50CB #CB508D
triadic
#CB50CB #CBCB50 #50CBCB
tetradic
#CB50CB #CB8D50 #50CB50 #508DCB
square
#CB50CB #CB8D50 #50CB50 #508DCB
split-complementary
#CB50CB #8DCB50 #50CB8D
monochromatic
#7C257C #AB33AB #CB50CB #D97FD9 #E7AEE7

Accessibility & contrast

On white

3.78
#CB50CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CB50CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50CB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50CB#FFFFFF#000000##000000
##CB50CB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#D16086
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb50cb;
/* rgb */ color: rgb(203, 80, 203);
/* oklch */ color: oklch(63.8% 0.211 327.7);
Tailwind
colors: {
  custom: {
    50: '#de89db',
    500: '#cb50cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb50cb;
$custom-light: #de89db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50cb",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6376,
    "c": 0.2109,
    "h": 327.7
  },
  "luminance": 0.22746
}

Semantic roles & 50–950 ramp

primary
#CB50CB
secondary
#A2D5A2
accent
#DE4A4A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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