#CB71EF#CB71EF

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

Color values

HEX#CB71EF
RGBrgb(203, 113, 239)
HSLhsl(283, 80%, 69%)
HSVhsv(283, 53%, 94%)
CMYKcmyk(15.1%, 52.7%, 0%, 6.3%)
CIE-LABlab(62.29, 55.43, -49.28)
CIE-LCHlch(62.29, 74.17, 318.36°)
OKLaboklab(69.82% 0.1395 -0.1374)
OKLCHoklch(69.82% 0.196 315.4)
XYZxyz(46.1113, 30.7402, 85.1491)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71EF #95EF71
analogous
#8C71EF #CB71EF #EF71D4
triadic
#CB71EF #EFCB71 #71EFCB
tetradic
#CB71EF #EF8C71 #95EF71 #71D4EF
square
#CB71EF #EF8C71 #95EF71 #71D4EF
split-complementary
#CB71EF #D4EF71 #71EF8C
monochromatic
#9A17CE #B73AE9 #CB71EF #DFA8F5 #F3DFFB

Accessibility & contrast

On white

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

On black

7.15
#CB71EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71EF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71EF#FFFFFF#000000##000000
##CB71EF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#C985A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb71ef;
/* rgb */ color: rgb(203, 113, 239);
/* oklch */ color: oklch(69.8% 0.196 315.4);
Tailwind
colors: {
  custom: {
    50: '#dd9df5',
    500: '#cb71ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb71ef;
$custom-light: #dd9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71ef",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 282.857,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69815,
    "c": 0.1958,
    "h": 315.4
  },
  "luminance": 0.30739
}

Semantic roles & 50–950 ramp

primary
#CB71EF
secondary
#D6F0CB
accent
#DC0946
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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