#CB71E6#CB71E6

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

Color values

HEX#CB71E6
RGBrgb(203, 113, 230)
HSLhsl(286, 70%, 67%)
HSVhsv(286, 51%, 90%)
CMYKcmyk(11.7%, 50.9%, 0%, 9.8%)
CIE-LABlab(61.84, 53.62, -44.98)
CIE-LCHlch(61.84, 69.99, 320.01°)
OKLaboklab(69.34% 0.1386 -0.1249)
OKLCHoklch(69.34% 0.187 318)
XYZxyz(44.8147, 30.2215, 78.3202)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71E6 #8CE671
analogous
#9171E6 #CB71E6 #E671C6
triadic
#CB71E6 #E6CB71 #71E6CB
tetradic
#CB71E6 #E69171 #8CE671 #71C6E6
square
#CB71E6 #E69171 #8CE671 #71C6E6
split-complementary
#CB71E6 #C6E671 #71E691
monochromatic
#9821BC #B83DDD #CB71E6 #DEA5EF #F1D9F8

Accessibility & contrast

On white

2.98
#CB71E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CB71E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71E6
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71E6#FFFFFF#000000##000000
##CB71E61.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8FEA
Deuteranopia (green-blind)
#7698E3
Tritanopia (blue-blind)
#CB82A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb71e6;
/* rgb */ color: rgb(203, 113, 230);
/* oklch */ color: oklch(69.3% 0.187 318.0);
Tailwind
colors: {
  custom: {
    50: '#dd9dee',
    500: '#cb71e6',
    950: '#000000',
  },
}
SCSS
$custom: #cb71e6;
$custom-light: #dd9dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71e6",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 286.154,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69344,
    "c": 0.1866,
    "h": 318
  },
  "luminance": 0.3022
}

Semantic roles & 50–950 ramp

primary
#CB71E6
secondary
#CFECC7
accent
#D2133F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71E6

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

Preview Lab → · Contrast checker → · Palette generator →

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