#CB50B7#CB50B7

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

Color values

HEX#CB50B7
RGBrgb(203, 80, 183)
HSLhsl(310, 54%, 55%)
HSVhsv(310, 61%, 80%)
CMYKcmyk(0%, 60.6%, 9.9%, 20.4%)
CIE-LABlab(53.87, 60.73, -30.80)
CIE-LCHlch(53.87, 68.10, 333.11°)
OKLaboklab(62.77% 0.176 -0.0839)
OKLCHoklch(62.77% 0.195 334.5)
XYZxyz(36.0447, 21.8555, 47.1107)
Luminance0.2185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50B7 #50CB64
analogous
#A150CB #CB50B7 #CB5079
triadic
#CB50B7 #B7CB50 #50B7CB
tetradic
#CB50B7 #CBA150 #50CB64 #5079CB
square
#CB50B7 #CBA150 #50CB64 #5079CB
split-complementary
#CB50B7 #79CB50 #50CBA1
monochromatic
#7C256E #AB3397 #CB50B7 #D97FCA #E7AEDE

Accessibility & contrast

On white

3.91
#CB50B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CB50B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50B7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50B7#FFFFFF#000000##000000
##CB50B71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F75BA
Deuteranopia (green-blind)
#7687B4
Tritanopia (blue-blind)
#D4587C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb50b7;
/* rgb */ color: rgb(203, 80, 183);
/* oklch */ color: oklch(62.8% 0.195 334.5);
Tailwind
colors: {
  custom: {
    50: '#de88cd',
    500: '#cb50b7',
    950: '#000000',
  },
}
SCSS
$custom: #cb50b7;
$custom-light: #de88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50b7",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 309.756,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6277,
    "c": 0.19499,
    "h": 334.5
  },
  "luminance": 0.21853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB50B7

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

Preview Lab → · Contrast checker → · Palette generator →

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