#CB50C8#CB50C8

#CB50C8 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.6% C 0.208 H 328.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CB50C8
RGBrgb(203, 80, 200)
HSLhsl(301, 54%, 55%)
HSVhsv(301, 61%, 80%)
CMYKcmyk(0%, 60.6%, 1.5%, 20.4%)
CIE-LABlab(54.66, 63.50, -39.35)
CIE-LCHlch(54.66, 74.71, 328.21°)
OKLaboklab(63.61% 0.178 -0.1084)
OKLCHoklch(63.61% 0.208 328.7)
XYZxyz(37.9222, 22.6065, 56.9985)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50C8 #50CB53
analogous
#9050CB #CB50C8 #CB508B
triadic
#CB50C8 #C8CB50 #50C8CB
tetradic
#CB50C8 #CB9050 #50CB53 #508BCB
square
#CB50C8 #CB9050 #50CB53 #508BCB
split-complementary
#CB50C8 #8BCB50 #50CB90
monochromatic
#7C257A #AB33A8 #CB50C8 #D97FD7 #E7AEE6

Accessibility & contrast

On white

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

On black

5.52
#CB50C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50C8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50C8#FFFFFF#000000##000000
##CB50C81.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CC
Deuteranopia (green-blind)
#6E89C5
Tritanopia (blue-blind)
#D15E85
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb50c8;
/* rgb */ color: rgb(203, 80, 200);
/* oklch */ color: oklch(63.6% 0.208 328.7);
Tailwind
colors: {
  custom: {
    50: '#de89d9',
    500: '#cb50c8',
    950: '#000000',
  },
}
SCSS
$custom: #cb50c8;
$custom-light: #de89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50c8",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 301.463,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63605,
    "c": 0.20844,
    "h": 328.7
  },
  "luminance": 0.22604
}

Semantic roles & 50–950 ramp

primary
#CB50C8
secondary
#A2D5A3
accent
#DE4E4A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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