#CB71E9#CB71E9

#CB71E9 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.190 H 317.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CB71E9
RGBrgb(203, 113, 233)
HSLhsl(285, 73%, 68%)
HSVhsv(285, 52%, 91%)
CMYKcmyk(12.9%, 51.5%, 0%, 8.6%)
CIE-LABlab(61.99, 54.22, -46.42)
CIE-LCHlch(61.99, 71.38, 319.43°)
OKLaboklab(69.5% 0.1389 -0.1291)
OKLCHoklch(69.5% 0.19 317.1)
XYZxyz(45.2396, 30.3915, 80.5581)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71E9 #8FE971
analogous
#8F71E9 #CB71E9 #E971CB
triadic
#CB71E9 #E9CB71 #71E9CB
tetradic
#CB71E9 #E98F71 #8FE971 #71CBE9
square
#CB71E9 #E98F71 #8FE971 #71CBE9
split-complementary
#CB71E9 #CBE971 #71E98F
monochromatic
#991EC2 #B83CE1 #CB71E9 #DEA6F1 #F2DBF9

Accessibility & contrast

On white

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

On black

7.08
#CB71E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71E9
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71E9#FFFFFF#000000##000000
##CB71E91.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890ED
Deuteranopia (green-blind)
#7499E6
Tritanopia (blue-blind)
#CA83A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb71e9;
/* rgb */ color: rgb(203, 113, 233);
/* oklch */ color: oklch(69.5% 0.190 317.1);
Tailwind
colors: {
  custom: {
    50: '#dd9df0',
    500: '#cb71e9',
    950: '#000000',
  },
}
SCSS
$custom: #cb71e9;
$custom-light: #dd9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71e9",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 285,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69499,
    "c": 0.18965,
    "h": 317.1
  },
  "luminance": 0.3039
}

Semantic roles & 50–950 ramp

primary
#CB71E9
secondary
#D2EDC8
accent
#D51041
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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