#CB50BD#CB50BD

#CB50BD is a light, vivid purple. Relative luminance 0.221; OKLCH L 63.1% C 0.200 H 332.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CB50BD
RGBrgb(203, 80, 189)
HSLhsl(307, 54%, 55%)
HSVhsv(307, 61%, 80%)
CMYKcmyk(0%, 60.6%, 6.9%, 20.4%)
CIE-LABlab(54.14, 61.69, -33.84)
CIE-LCHlch(54.14, 70.36, 331.25°)
OKLaboklab(63.06% 0.1769 -0.0926)
OKLCHoklch(63.06% 0.2 332.4)
XYZxyz(36.6826, 22.1107, 50.4700)
Luminance0.2211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50BD #50CB5E
analogous
#9B50CB #CB50BD #CB507F
triadic
#CB50BD #BDCB50 #50BDCB
tetradic
#CB50BD #CB9B50 #50CB5E #507FCB
square
#CB50BD #CB9B50 #50CB5E #507FCB
split-complementary
#CB50BD #7FCB50 #50CB9B
monochromatic
#7C2572 #AB339D #CB50BD #D97FCF #E7AEE1

Accessibility & contrast

On white

3.87
#CB50BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CB50BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50BD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50BD#FFFFFF#000000##000000
##CB50BD1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B76C0
Deuteranopia (green-blind)
#7388BA
Tritanopia (blue-blind)
#D35A7F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb50bd;
/* rgb */ color: rgb(203, 80, 189);
/* oklch */ color: oklch(63.1% 0.200 332.4);
Tailwind
colors: {
  custom: {
    50: '#de88d1',
    500: '#cb50bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb50bd;
$custom-light: #de88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50bd",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 306.829,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63057,
    "c": 0.19962,
    "h": 332.4
  },
  "luminance": 0.22108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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