#CB50BA#CB50BA

#CB50BA is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.9% C 0.197 H 333.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CB50BA
RGBrgb(203, 80, 186)
HSLhsl(308, 54%, 55%)
HSVhsv(308, 61%, 80%)
CMYKcmyk(0%, 60.6%, 8.4%, 20.4%)
CIE-LABlab(54.01, 61.21, -32.32)
CIE-LCHlch(54.01, 69.22, 332.16°)
OKLaboklab(62.91% 0.1765 -0.0882)
OKLCHoklch(62.91% 0.197 333.4)
XYZxyz(36.3603, 21.9817, 48.7727)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50BA #50CB61
analogous
#9F50CB #CB50BA #CB507C
triadic
#CB50BA #BACB50 #50BACB
tetradic
#CB50BA #CB9F50 #50CB61 #507CCB
square
#CB50BA #CB9F50 #50CB61 #507CCB
split-complementary
#CB50BA #7CCB50 #50CB9F
monochromatic
#7C2570 #AB339A #CB50BA #D97FCD #E7AEDF

Accessibility & contrast

On white

3.89
#CB50BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CB50BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50BA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50BA#FFFFFF#000000##000000
##CB50BA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BD
Deuteranopia (green-blind)
#7588B7
Tritanopia (blue-blind)
#D4597E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb50ba;
/* rgb */ color: rgb(203, 80, 186);
/* oklch */ color: oklch(62.9% 0.197 333.4);
Tailwind
colors: {
  custom: {
    50: '#de88cf',
    500: '#cb50ba',
    950: '#000000',
  },
}
SCSS
$custom: #cb50ba;
$custom-light: #de88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50ba",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 308.293,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62912,
    "c": 0.19729,
    "h": 333.4
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#CB50BA
secondary
#A2D5A9
accent
#DE5F4A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C14
muted
#847D82

Preview Lab

Preview with #CB50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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