#CB71F4#CB71F4

#CB71F4 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.1% C 0.201 H 314.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CB71F4
RGBrgb(203, 113, 244)
HSLhsl(281, 86%, 70%)
HSVhsv(281, 54%, 96%)
CMYKcmyk(16.8%, 53.7%, 0%, 4.3%)
CIE-LABlab(62.54, 56.46, -51.65)
CIE-LCHlch(62.54, 76.52, 317.55°)
OKLaboklab(70.08% 0.1399 -0.1443)
OKLCHoklch(70.08% 0.201 314.1)
XYZxyz(46.8602, 31.0397, 89.0932)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71F4 #9AF471
analogous
#8971F4 #CB71F4 #F471DC
triadic
#CB71F4 #F4CB71 #71F4CB
tetradic
#CB71F4 #F48971 #9AF471 #71DCF4
square
#CB71F4 #F48971 #9AF471 #71DCF4
split-complementary
#CB71F4 #DCF471 #71F489
monochromatic
#9B11DA #B638F0 #CB71F4 #E0AAF8 #F5E3FD

Accessibility & contrast

On white

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

On black

7.21
#CB71F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71F4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71F4#FFFFFF#000000##000000
##CB71F41.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F8
Deuteranopia (green-blind)
#6E9AF1
Tritanopia (blue-blind)
#C887A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb71f4;
/* rgb */ color: rgb(203, 113, 244);
/* oklch */ color: oklch(70.1% 0.201 314.1);
Tailwind
colors: {
  custom: {
    50: '#dd9df8',
    500: '#cb71f4',
    950: '#000000',
  },
}
SCSS
$custom: #cb71f4;
$custom-light: #dd9df8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71f4",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 281.221,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.70083,
    "c": 0.20096,
    "h": 314.1
  },
  "luminance": 0.31038
}

Semantic roles & 50–950 ramp

primary
#CB71F4
secondary
#DAF3CE
accent
#E20349
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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