#CB50BC#CB50BC

#CB50BC is a light, vivid purple. Relative luminance 0.221; OKLCH L 63.0% C 0.199 H 332.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CB50BC
RGBrgb(203, 80, 188)
HSLhsl(307, 54%, 55%)
HSVhsv(307, 61%, 80%)
CMYKcmyk(0%, 60.6%, 7.4%, 20.4%)
CIE-LABlab(54.10, 61.53, -33.34)
CIE-LCHlch(54.10, 69.98, 331.55°)
OKLaboklab(63.01% 0.1767 -0.0911)
OKLCHoklch(63.01% 0.199 332.7)
XYZxyz(36.5744, 22.0674, 49.9003)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50BC #50CB5F
analogous
#9C50CB #CB50BC #CB507E
triadic
#CB50BC #BCCB50 #50BCCB
tetradic
#CB50BC #CB9C50 #50CB5F #507ECB
square
#CB50BC #CB9C50 #50CB5F #507ECB
split-complementary
#CB50BC #7ECB50 #50CB9C
monochromatic
#7C2571 #AB339C #CB50BC #D97FCE #E7AEE0

Accessibility & contrast

On white

3.88
#CB50BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#CB50BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50BC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50BC#FFFFFF#000000##000000
##CB50BC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BF
Deuteranopia (green-blind)
#7488B9
Tritanopia (blue-blind)
#D35A7F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb50bc;
/* rgb */ color: rgb(203, 80, 188);
/* oklch */ color: oklch(63.0% 0.199 332.7);
Tailwind
colors: {
  custom: {
    50: '#de88d0',
    500: '#cb50bc',
    950: '#000000',
  },
}
SCSS
$custom: #cb50bc;
$custom-light: #de88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50bc",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 307.317,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63008,
    "c": 0.19884,
    "h": 332.7
  },
  "luminance": 0.22065
}

Semantic roles & 50–950 ramp

primary
#CB50BC
secondary
#A2D5A8
accent
#DE5C4A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C14
muted
#847D82

Preview Lab

Preview with #CB50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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