#CB50B8#CB50B8

#CB50B8 is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.8% C 0.196 H 334.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CB50B8
RGBrgb(203, 80, 184)
HSLhsl(309, 54%, 55%)
HSVhsv(309, 61%, 80%)
CMYKcmyk(0%, 60.6%, 9.4%, 20.4%)
CIE-LABlab(53.92, 60.89, -31.31)
CIE-LCHlch(53.92, 68.47, 332.79°)
OKLaboklab(62.82% 0.1762 -0.0853)
OKLCHoklch(62.82% 0.196 334.2)
XYZxyz(36.1492, 21.8973, 47.6608)
Luminance0.2190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50B8 #50CB63
analogous
#A050CB #CB50B8 #CB507B
triadic
#CB50B8 #B8CB50 #50B8CB
tetradic
#CB50B8 #CBA050 #50CB63 #507BCB
square
#CB50B8 #CBA050 #50CB63 #507BCB
split-complementary
#CB50B8 #7BCB50 #50CBA0
monochromatic
#7C256E #AB3398 #CB50B8 #D97FCB #E7AEDE

Accessibility & contrast

On white

3.90
#CB50B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CB50B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50B8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50B8#FFFFFF#000000##000000
##CB50B81.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F75BB
Deuteranopia (green-blind)
#7587B5
Tritanopia (blue-blind)
#D4587D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb50b8;
/* rgb */ color: rgb(203, 80, 184);
/* oklch */ color: oklch(62.8% 0.196 334.2);
Tailwind
colors: {
  custom: {
    50: '#de88cd',
    500: '#cb50b8',
    950: '#000000',
  },
}
SCSS
$custom: #cb50b8;
$custom-light: #de88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50b8",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 184
  },
  "hsl": {
    "h": 309.268,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62817,
    "c": 0.19576,
    "h": 334.2
  },
  "luminance": 0.21895
}

Semantic roles & 50–950 ramp

primary
#CB50B8
secondary
#A2D5AA
accent
#DE614A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C13
muted
#847D82

Preview Lab

Preview with #CB50B8

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

Preview Lab → · Contrast checker → · Palette generator →

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