#CB71EA#CB71EA

#CB71EA is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.6% C 0.191 H 316.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CB71EA
RGBrgb(203, 113, 234)
HSLhsl(285, 74%, 68%)
HSVhsv(285, 52%, 92%)
CMYKcmyk(13.2%, 51.7%, 0%, 8.2%)
CIE-LABlab(62.04, 54.42, -46.90)
CIE-LCHlch(62.04, 71.84, 319.25°)
OKLaboklab(69.55% 0.139 -0.1305)
OKLCHoklch(69.55% 0.191 316.8)
XYZxyz(45.3828, 30.4488, 81.3125)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71EA #90EA71
analogous
#8E71EA #CB71EA #EA71CC
triadic
#CB71EA #EACB71 #71EACB
tetradic
#CB71EA #EA8E71 #90EA71 #71CCEA
square
#CB71EA #EA8E71 #90EA71 #71CCEA
split-complementary
#CB71EA #CCEA71 #71EA8E
monochromatic
#991DC4 #B73CE2 #CB71EA #DFA6F2 #F2DCFA

Accessibility & contrast

On white

2.96
#CB71EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CB71EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71EA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71EA#FFFFFF#000000##000000
##CB71EA1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#CA83A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb71ea;
/* rgb */ color: rgb(203, 113, 234);
/* oklch */ color: oklch(69.6% 0.191 316.8);
Tailwind
colors: {
  custom: {
    50: '#dd9df1',
    500: '#cb71ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb71ea;
$custom-light: #dd9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71ea",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 284.628,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69551,
    "c": 0.19068,
    "h": 316.8
  },
  "luminance": 0.30447
}

Semantic roles & 50–950 ramp

primary
#CB71EA
secondary
#D2EEC9
accent
#D60F42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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