#CB71E2#CB71E2

#CB71E2 is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.183 H 319.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CB71E2
RGBrgb(203, 113, 226)
HSLhsl(288, 66%, 66%)
HSVhsv(288, 50%, 89%)
CMYKcmyk(10.2%, 50%, 0%, 11.4%)
CIE-LABlab(61.65, 52.83, -43.05)
CIE-LCHlch(61.65, 68.15, 320.82°)
OKLaboklab(69.14% 0.1382 -0.1193)
OKLCHoklch(69.14% 0.183 319.2)
XYZxyz(44.2594, 29.9994, 75.3958)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71E2 #88E271
analogous
#9371E2 #CB71E2 #E271C1
triadic
#CB71E2 #E2CB71 #71E2CB
tetradic
#CB71E2 #E29371 #88E271 #71C1E2
square
#CB71E2 #E29371 #88E271 #71C1E2
split-complementary
#CB71E2 #C1E271 #71E293
monochromatic
#9725B4 #B83ED8 #CB71E2 #DEA4EC #F0D7F7

Accessibility & contrast

On white

3.00
#CB71E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CB71E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71E2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71E2#FFFFFF#000000##000000
##CB71E21.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#7898DF
Tritanopia (blue-blind)
#CC819F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb71e2;
/* rgb */ color: rgb(203, 113, 226);
/* oklch */ color: oklch(69.1% 0.183 319.2);
Tailwind
colors: {
  custom: {
    50: '#dd9deb',
    500: '#cb71e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb71e2;
$custom-light: #dd9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71e2",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 287.788,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6914,
    "c": 0.18256,
    "h": 319.2
  },
  "luminance": 0.29998
}

Semantic roles & 50–950 ramp

primary
#CB71E2
secondary
#CDEAC5
accent
#CE183D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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