#CB71E4#CB71E4

#CB71E4 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.2% C 0.185 H 318.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CB71E4
RGBrgb(203, 113, 228)
HSLhsl(287, 68%, 67%)
HSVhsv(287, 50%, 89%)
CMYKcmyk(11%, 50.4%, 0%, 10.6%)
CIE-LABlab(61.75, 53.23, -44.02)
CIE-LCHlch(61.75, 69.07, 320.41°)
OKLaboklab(69.24% 0.1384 -0.1221)
OKLCHoklch(69.24% 0.185 318.6)
XYZxyz(44.5354, 30.1098, 76.8496)
Luminance0.3011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71E4 #8AE471
analogous
#9271E4 #CB71E4 #E471C3
triadic
#CB71E4 #E4CB71 #71E4CB
tetradic
#CB71E4 #E49271 #8AE471 #71C3E4
square
#CB71E4 #E49271 #8AE471 #71C3E4
split-complementary
#CB71E4 #C3E471 #71E492
monochromatic
#9723B8 #B83EDA #CB71E4 #DEA4EE #F1D8F8

Accessibility & contrast

On white

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

On black

7.02
#CB71E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71E4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71E4#FFFFFF#000000##000000
##CB71E41.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE8
Deuteranopia (green-blind)
#7798E1
Tritanopia (blue-blind)
#CB82A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb71e4;
/* rgb */ color: rgb(203, 113, 228);
/* oklch */ color: oklch(69.2% 0.185 318.6);
Tailwind
colors: {
  custom: {
    50: '#dd9ded',
    500: '#cb71e4',
    950: '#000000',
  },
}
SCSS
$custom: #cb71e4;
$custom-light: #dd9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71e4",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 286.957,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69242,
    "c": 0.18457,
    "h": 318.6
  },
  "luminance": 0.30108
}

Semantic roles & 50–950 ramp

primary
#CB71E4
secondary
#CEEBC6
accent
#D0163E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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