#CB71E5#CB71E5

#CB71E5 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.3% C 0.186 H 318.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CB71E5
RGBrgb(203, 113, 229)
HSLhsl(287, 69%, 67%)
HSVhsv(287, 51%, 90%)
CMYKcmyk(11.4%, 50.7%, 0%, 10.2%)
CIE-LABlab(61.80, 53.43, -44.50)
CIE-LCHlch(61.80, 69.53, 320.21°)
OKLaboklab(69.29% 0.1385 -0.1235)
OKLCHoklch(69.29% 0.186 318.3)
XYZxyz(44.6747, 30.1655, 77.5828)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71E5 #8BE571
analogous
#9171E5 #CB71E5 #E571C5
triadic
#CB71E5 #E5CB71 #71E5CB
tetradic
#CB71E5 #E59171 #8BE571 #71C5E5
square
#CB71E5 #E59171 #8BE571 #71C5E5
split-complementary
#CB71E5 #C5E571 #71E591
monochromatic
#9822BA #B83DDC #CB71E5 #DEA5EE #F1D8F8

Accessibility & contrast

On white

2.99
#CB71E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CB71E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71E5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71E5#FFFFFF#000000##000000
##CB71E51.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8FE9
Deuteranopia (green-blind)
#7798E2
Tritanopia (blue-blind)
#CB82A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb71e5;
/* rgb */ color: rgb(203, 113, 229);
/* oklch */ color: oklch(69.3% 0.186 318.3);
Tailwind
colors: {
  custom: {
    50: '#dd9ded',
    500: '#cb71e5',
    950: '#000000',
  },
}
SCSS
$custom: #cb71e5;
$custom-light: #dd9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71e5",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 286.552,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69293,
    "c": 0.18559,
    "h": 318.3
  },
  "luminance": 0.30164
}

Semantic roles & 50–950 ramp

primary
#CB71E5
secondary
#CFEBC6
accent
#D1143F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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