#CB50E5#CB50E5

#CB50E5 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.233 H 320.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CB50E5
RGBrgb(203, 80, 229)
HSLhsl(290, 74%, 61%)
HSVhsv(290, 65%, 90%)
CMYKcmyk(11.4%, 65.1%, 0%, 10.2%)
CIE-LABlab(56.18, 68.62, -53.40)
CIE-LCHlch(56.18, 86.95, 322.11°)
OKLaboklab(65.19% 0.1791 -0.1492)
OKLCHoklch(65.19% 0.233 320.2)
XYZxyz(41.6384, 24.0930, 76.5707)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50E5 #6AE550
analogous
#8050E5 #CB50E5 #E550B4
triadic
#CB50E5 #E5CB50 #50E5CB
tetradic
#CB50E5 #E58050 #6AE550 #50B4E5
square
#CB50E5 #E58050 #6AE550 #50B4E5
split-complementary
#CB50E5 #B4E550 #50E580
monochromatic
#8A18A2 #B820D8 #CB50E5 #DB85ED #EBBBF5

Accessibility & contrast

On white

3.61
#CB50E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CB50E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50E5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50E5#FFFFFF#000000##000000
##CB50E51.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#217EE9
Deuteranopia (green-blind)
#5D8BE1
Tritanopia (blue-blind)
#CC6A94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb50e5;
/* rgb */ color: rgb(203, 80, 229);
/* oklch */ color: oklch(65.2% 0.233 320.2);
Tailwind
colors: {
  custom: {
    50: '#de8aee',
    500: '#cb50e5',
    950: '#000000',
  },
}
SCSS
$custom: #cb50e5;
$custom-light: #de8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50e5",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 289.53,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65194,
    "c": 0.23309,
    "h": 320.2
  },
  "luminance": 0.24091
}

Semantic roles & 50–950 ramp

primary
#CB50E5
secondary
#B6E5AC
accent
#D60F32
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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