#CB71EB#CB71EB

#CB71EB is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.6% C 0.192 H 316.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CB71EB
RGBrgb(203, 113, 235)
HSLhsl(284, 75%, 68%)
HSVhsv(284, 52%, 92%)
CMYKcmyk(13.6%, 51.9%, 0%, 7.8%)
CIE-LABlab(62.09, 54.62, -47.38)
CIE-LCHlch(62.09, 72.31, 319.06°)
OKLaboklab(69.6% 0.1391 -0.1319)
OKLCHoklch(69.6% 0.192 316.5)
XYZxyz(45.5269, 30.5064, 82.0713)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71EB #91EB71
analogous
#8E71EB #CB71EB #EB71CE
triadic
#CB71EB #EBCB71 #71EBCB
tetradic
#CB71EB #EB8E71 #91EB71 #71CEEB
square
#CB71EB #EB8E71 #91EB71 #71CEEB
split-complementary
#CB71EB #CEEB71 #71EB8E
monochromatic
#991CC6 #B73BE3 #CB71EB #DFA7F3 #F2DCFA

Accessibility & contrast

On white

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

On black

7.10
#CB71EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71EB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71EB#FFFFFF#000000##000000
##CB71EB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#CA84A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb71eb;
/* rgb */ color: rgb(203, 113, 235);
/* oklch */ color: oklch(69.6% 0.192 316.5);
Tailwind
colors: {
  custom: {
    50: '#dd9df2',
    500: '#cb71eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb71eb;
$custom-light: #dd9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71eb",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 284.262,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69603,
    "c": 0.1917,
    "h": 316.5
  },
  "luminance": 0.30505
}

Semantic roles & 50–950 ramp

primary
#CB71EB
secondary
#D3EEC9
accent
#D70E43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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