#CB50E1#CB50E1

#CB50E1 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.230 H 321.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CB50E1
RGBrgb(203, 80, 225)
HSLhsl(291, 71%, 60%)
HSVhsv(291, 64%, 88%)
CMYKcmyk(9.8%, 64.4%, 0%, 11.8%)
CIE-LABlab(55.96, 67.89, -51.51)
CIE-LCHlch(55.96, 85.21, 322.81°)
OKLaboklab(64.96% 0.1791 -0.1437)
OKLCHoklch(64.96% 0.23 321.3)
XYZxyz(41.0863, 23.8722, 73.6632)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50E1 #66E150
analogous
#8350E1 #CB50E1 #E150AE
triadic
#CB50E1 #E1CB50 #50E1CB
tetradic
#CB50E1 #E18350 #66E150 #50AEE1
square
#CB50E1 #E18350 #66E150 #50AEE1
split-complementary
#CB50E1 #AEE150 #50E183
monochromatic
#881B9C #B624D0 #CB50E1 #DB84EA #EAB8F3

Accessibility & contrast

On white

3.64
#CB50E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CB50E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50E1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50E1#FFFFFF#000000##000000
##CB50E11.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#287DE5
Deuteranopia (green-blind)
#608BDD
Tritanopia (blue-blind)
#CD6892
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb50e1;
/* rgb */ color: rgb(203, 80, 225);
/* oklch */ color: oklch(65.0% 0.230 321.3);
Tailwind
colors: {
  custom: {
    50: '#de89eb',
    500: '#cb50e1',
    950: '#000000',
  },
}
SCSS
$custom: #cb50e1;
$custom-light: #de89eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50e1",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 290.897,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64963,
    "c": 0.2296,
    "h": 321.3
  },
  "luminance": 0.2387
}

Semantic roles & 50–950 ramp

primary
#CB50E1
secondary
#B3E2AA
accent
#ED3A55
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB50E1

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

Preview Lab → · Contrast checker → · Palette generator →

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