#CB71DE#CB71DE

#CB71DE is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.9% C 0.179 H 320.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#CB71DE
RGBrgb(203, 113, 222)
HSLhsl(290, 62%, 66%)
HSVhsv(290, 49%, 87%)
CMYKcmyk(8.6%, 49.1%, 0%, 12.9%)
CIE-LABlab(61.47, 52.05, -41.11)
CIE-LCHlch(61.47, 66.33, 321.70°)
OKLaboklab(68.94% 0.1376 -0.1137)
OKLCHoklch(68.94% 0.179 320.4)
XYZxyz(43.7170, 29.7824, 72.5389)
Luminance0.2978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71DE #84DE71
analogous
#9471DE #CB71DE #DE71BB
triadic
#CB71DE #DECB71 #71DECB
tetradic
#CB71DE #DE9471 #84DE71 #71BBDE
square
#CB71DE #DE9471 #84DE71 #71BBDE
split-complementary
#CB71DE #BBDE71 #71DE94
monochromatic
#9528AD #B93FD2 #CB71DE #DDA3EA #EFD4F5

Accessibility & contrast

On white

3.02
#CB71DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#CB71DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71DE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71DE#FFFFFF#000000##000000
##CB71DE1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE2
Deuteranopia (green-blind)
#7A98DB
Tritanopia (blue-blind)
#CC809D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb71de;
/* rgb */ color: rgb(203, 113, 222);
/* oklch */ color: oklch(68.9% 0.179 320.4);
Tailwind
colors: {
  custom: {
    50: '#dd9de8',
    500: '#cb71de',
    950: '#000000',
  },
}
SCSS
$custom: #cb71de;
$custom-light: #dd9de8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71de",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 289.541,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6894,
    "c": 0.17855,
    "h": 320.4
  },
  "luminance": 0.29781
}

Semantic roles & 50–950 ramp

primary
#CB71DE
secondary
#CAE8C3
accent
#CA1B3A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71DE

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

Preview Lab → · Contrast checker → · Palette generator →

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