#CB71E8#CB71E8

#CB71E8 is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.189 H 317.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CB71E8
RGBrgb(203, 113, 232)
HSLhsl(285, 72%, 68%)
HSVhsv(285, 51%, 91%)
CMYKcmyk(12.5%, 51.3%, 0%, 9%)
CIE-LABlab(61.94, 54.02, -45.94)
CIE-LCHlch(61.94, 70.92, 319.62°)
OKLaboklab(69.45% 0.1388 -0.1277)
OKLCHoklch(69.45% 0.189 317.4)
XYZxyz(45.0971, 30.3345, 79.8079)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71E8 #8EE871
analogous
#8F71E8 #CB71E8 #E871CA
triadic
#CB71E8 #E8CB71 #71E8CB
tetradic
#CB71E8 #E88F71 #8EE871 #71CAE8
square
#CB71E8 #E88F71 #8EE871 #71CAE8
split-complementary
#CB71E8 #CAE871 #71E88F
monochromatic
#981FC0 #B83CDF #CB71E8 #DEA6F1 #F2DAF9

Accessibility & contrast

On white

2.97
#CB71E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CB71E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71E8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71E8#FFFFFF#000000##000000
##CB71E81.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990EC
Deuteranopia (green-blind)
#7599E5
Tritanopia (blue-blind)
#CA83A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb71e8;
/* rgb */ color: rgb(203, 113, 232);
/* oklch */ color: oklch(69.4% 0.189 317.4);
Tailwind
colors: {
  custom: {
    50: '#dd9df0',
    500: '#cb71e8',
    950: '#000000',
  },
}
SCSS
$custom: #cb71e8;
$custom-light: #dd9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71e8",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 285.378,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69447,
    "c": 0.18864,
    "h": 317.4
  },
  "luminance": 0.30333
}

Semantic roles & 50–950 ramp

primary
#CB71E8
secondary
#D1EDC8
accent
#D41141
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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