#CB71F5#CB71F5

#CB71F5 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.1% C 0.202 H 313.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CB71F5
RGBrgb(203, 113, 245)
HSLhsl(281, 87%, 70%)
HSVhsv(281, 54%, 96%)
CMYKcmyk(17.1%, 53.9%, 0%, 3.9%)
CIE-LABlab(62.59, 56.66, -52.12)
CIE-LCHlch(62.59, 76.99, 317.39°)
OKLaboklab(70.14% 0.1399 -0.1457)
OKLCHoklch(70.14% 0.202 313.9)
XYZxyz(47.0124, 31.1006, 89.8950)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71F5 #9BF571
analogous
#8971F5 #CB71F5 #F571DD
triadic
#CB71F5 #F5CB71 #71F5CB
tetradic
#CB71F5 #F58971 #9BF571 #71DDF5
square
#CB71F5 #F58971 #9BF571 #71DDF5
split-complementary
#CB71F5 #DDF571 #71F589
monochromatic
#9B10DC #B638F1 #CB71F5 #E0AAF9 #F5E2FD

Accessibility & contrast

On white

2.91
#CB71F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CB71F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71F5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71F5#FFFFFF#000000##000000
##CB71F51.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#6D9AF2
Tritanopia (blue-blind)
#C787A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb71f5;
/* rgb */ color: rgb(203, 113, 245);
/* oklch */ color: oklch(70.1% 0.202 313.9);
Tailwind
colors: {
  custom: {
    50: '#de9df9',
    500: '#cb71f5',
    950: '#000000',
  },
}
SCSS
$custom: #cb71f5;
$custom-light: #de9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71f5",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 280.909,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70138,
    "c": 0.202,
    "h": 313.9
  },
  "luminance": 0.31099
}

Semantic roles & 50–950 ramp

primary
#CB71F5
secondary
#DAF3CF
accent
#E3024A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB71F5

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

Preview Lab → · Contrast checker → · Palette generator →

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