#CB50E6#CB50E6

#CB50E6 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.3% C 0.234 H 319.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CB50E6
RGBrgb(203, 80, 230)
HSLhsl(289, 75%, 61%)
HSVhsv(289, 65%, 90%)
CMYKcmyk(11.7%, 65.2%, 0%, 9.8%)
CIE-LABlab(56.24, 68.80, -53.88)
CIE-LCHlch(56.24, 87.39, 321.94°)
OKLaboklab(65.25% 0.179 -0.1506)
OKLCHoklch(65.25% 0.234 319.9)
XYZxyz(41.7784, 24.1490, 77.3081)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50E6 #6BE650
analogous
#8050E6 #CB50E6 #E650B6
triadic
#CB50E6 #E6CB50 #50E6CB
tetradic
#CB50E6 #E68050 #6BE650 #50B6E6
square
#CB50E6 #E68050 #6BE650 #50B6E6
split-complementary
#CB50E6 #B6E650 #50E680
monochromatic
#8B17A4 #B81FDA #CB50E6 #DB86EE #EBBBF5

Accessibility & contrast

On white

3.60
#CB50E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CB50E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50E6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50E6#FFFFFF#000000##000000
##CB50E61.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7EEA
Deuteranopia (green-blind)
#5C8BE2
Tritanopia (blue-blind)
#CC6A95
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb50e6;
/* rgb */ color: rgb(203, 80, 230);
/* oklch */ color: oklch(65.3% 0.234 319.9);
Tailwind
colors: {
  custom: {
    50: '#de8aee',
    500: '#cb50e6',
    950: '#000000',
  },
}
SCSS
$custom: #cb50e6;
$custom-light: #de8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50e6",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 289.2,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65252,
    "c": 0.23396,
    "h": 319.9
  },
  "luminance": 0.24147
}

Semantic roles & 50–950 ramp

primary
#CB50E6
secondary
#B7E5AC
accent
#D70E32
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB50E6

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

Preview Lab → · Contrast checker → · Palette generator →

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