#CB50D7#CB50D7

#CB50D7 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.4% C 0.221 H 324.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CB50D7
RGBrgb(203, 80, 215)
HSLhsl(295, 63%, 58%)
HSVhsv(295, 63%, 84%)
CMYKcmyk(5.6%, 62.8%, 0%, 15.7%)
CIE-LABlab(55.42, 66.09, -46.70)
CIE-LCHlch(55.42, 80.93, 324.75°)
OKLaboklab(64.4% 0.1789 -0.1297)
OKLCHoklch(64.4% 0.221 324.1)
XYZxyz(39.7619, 23.3424, 66.6880)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50D7 #5CD750
analogous
#8850D7 #CB50D7 #D7509F
triadic
#CB50D7 #D7CB50 #50D7CB
tetradic
#CB50D7 #D78850 #5CD750 #509FD7
square
#CB50D7 #D78850 #5CD750 #509FD7
split-complementary
#CB50D7 #9FD750 #50D788
monochromatic
#83208C #B12BBE #CB50D7 #DA82E2 #E9B4EE

Accessibility & contrast

On white

3.71
#CB50D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CB50D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50D7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50D7#FFFFFF#000000##000000
##CB50D71.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#357BDB
Deuteranopia (green-blind)
#668AD3
Tritanopia (blue-blind)
#CF648D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb50d7;
/* rgb */ color: rgb(203, 80, 215);
/* oklch */ color: oklch(64.4% 0.221 324.1);
Tailwind
colors: {
  custom: {
    50: '#de89e4',
    500: '#cb50d7',
    950: '#000000',
  },
}
SCSS
$custom: #cb50d7;
$custom-light: #de89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50d7",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 294.667,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64402,
    "c": 0.22099,
    "h": 324.1
  },
  "luminance": 0.2334
}

Semantic roles & 50–950 ramp

primary
#CB50D7
secondary
#ABDCA6
accent
#E64251
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CB50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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