#CB71EC#CB71EC

#CB71EC is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.7% C 0.193 H 316.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CB71EC
RGBrgb(203, 113, 236)
HSLhsl(284, 76%, 68%)
HSVhsv(284, 52%, 93%)
CMYKcmyk(14%, 52.1%, 0%, 7.5%)
CIE-LABlab(62.14, 54.83, -47.86)
CIE-LCHlch(62.14, 72.77, 318.88°)
OKLaboklab(69.66% 0.1392 -0.1333)
OKLCHoklch(69.66% 0.193 316.3)
XYZxyz(45.6718, 30.5644, 82.8343)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71EC #92EC71
analogous
#8D71EC #CB71EC #EC71D0
triadic
#CB71EC #ECCB71 #71ECCB
tetradic
#CB71EC #EC8D71 #92EC71 #71D0EC
square
#CB71EC #EC8D71 #92EC71 #71D0EC
split-complementary
#CB71EC #D0EC71 #71EC8D
monochromatic
#991BC8 #B73BE5 #CB71EC #DFA7F3 #F3DDFA

Accessibility & contrast

On white

2.95
#CB71EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CB71EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71EC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71EC#FFFFFF#000000##000000
##CB71EC1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#C984A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb71ec;
/* rgb */ color: rgb(203, 113, 236);
/* oklch */ color: oklch(69.7% 0.193 316.3);
Tailwind
colors: {
  custom: {
    50: '#dd9df2',
    500: '#cb71ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb71ec;
$custom-light: #dd9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71ec",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 283.902,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69656,
    "c": 0.19272,
    "h": 316.3
  },
  "luminance": 0.30563
}

Semantic roles & 50–950 ramp

primary
#CB71EC
secondary
#D4EFCA
accent
#D90D44
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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