#CB50BB#CB50BB

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

Color values

HEX#CB50BB
RGBrgb(203, 80, 187)
HSLhsl(308, 54%, 55%)
HSVhsv(308, 61%, 80%)
CMYKcmyk(0%, 60.6%, 7.9%, 20.4%)
CIE-LABlab(54.05, 61.37, -32.83)
CIE-LCHlch(54.05, 69.60, 331.85°)
OKLaboklab(62.96% 0.1766 -0.0897)
OKLCHoklch(62.96% 0.198 333.1)
XYZxyz(36.4670, 22.0244, 49.3345)
Luminance0.2202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50BB #50CB60
analogous
#9D50CB #CB50BB #CB507D
triadic
#CB50BB #BBCB50 #50BBCB
tetradic
#CB50BB #CB9D50 #50CB60 #507DCB
square
#CB50BB #CB9D50 #50CB60 #507DCB
split-complementary
#CB50BB #7DCB50 #50CB9D
monochromatic
#7C2570 #AB339B #CB50BB #D97FCD #E7AEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB50BB#FFFFFF#000000##000000
##CB50BB1.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)
#4D76BE
Deuteranopia (green-blind)
#7488B8
Tritanopia (blue-blind)
#D35A7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb50bb;
/* rgb */ color: rgb(203, 80, 187);
/* oklch */ color: oklch(63.0% 0.198 333.1);
Tailwind
colors: {
  custom: {
    50: '#de88d0',
    500: '#cb50bb',
    950: '#000000',
  },
}
SCSS
$custom: #cb50bb;
$custom-light: #de88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50bb",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 307.805,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6296,
    "c": 0.19806,
    "h": 333.1
  },
  "luminance": 0.22022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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