#CB71EE#CB71EE

#CB71EE is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.8% C 0.195 H 315.7°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CB71EE
RGBrgb(203, 113, 238)
HSLhsl(283, 79%, 69%)
HSVhsv(283, 53%, 93%)
CMYKcmyk(14.7%, 52.5%, 0%, 6.7%)
CIE-LABlab(62.24, 55.23, -48.81)
CIE-LCHlch(62.24, 73.71, 318.53°)
OKLaboklab(69.76% 0.1394 -0.136)
OKLCHoklch(69.76% 0.195 315.7)
XYZxyz(45.9640, 30.6812, 84.3732)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71EE #94EE71
analogous
#8D71EE #CB71EE #EE71D3
triadic
#CB71EE #EECB71 #71EECB
tetradic
#CB71EE #EE8D71 #94EE71 #71D3EE
square
#CB71EE #EE8D71 #94EE71 #71D3EE
split-complementary
#CB71EE #D3EE71 #71EE8D
monochromatic
#9A18CC #B73AE7 #CB71EE #DFA8F5 #F3DEFB

Accessibility & contrast

On white

2.94
#CB71EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CB71EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71EE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71EE#FFFFFF#000000##000000
##CB71EE1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#7199EB
Tritanopia (blue-blind)
#C985A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb71ee;
/* rgb */ color: rgb(203, 113, 238);
/* oklch */ color: oklch(69.8% 0.195 315.7);
Tailwind
colors: {
  custom: {
    50: '#dd9df4',
    500: '#cb71ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb71ee;
$custom-light: #dd9df4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71ee",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 283.2,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69761,
    "c": 0.19477,
    "h": 315.7
  },
  "luminance": 0.3068
}

Semantic roles & 50–950 ramp

primary
#CB71EE
secondary
#D5F0CB
accent
#DB0B45
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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