#CB71C2#CB71C2

#CB71C2 is a light, vivid purple. Relative luminance 0.284; OKLCH L 67.6% C 0.152 H 330.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#CB71C2
RGBrgb(203, 113, 194)
HSLhsl(306, 46%, 62%)
HSVhsv(306, 44%, 80%)
CMYKcmyk(0%, 44.3%, 4.4%, 20.4%)
CIE-LABlab(60.25, 46.87, -27.22)
CIE-LCHlch(60.25, 54.20, 329.85°)
OKLaboklab(67.64% 0.1327 -0.074)
OKLCHoklch(67.64% 0.152 330.9)
XYZxyz(40.2709, 28.4040, 54.3898)
Luminance0.2840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71C2 #71CB7A
analogous
#A771CB #CB71C2 #CB7195
triadic
#CB71C2 #C2CB71 #71C2CB
tetradic
#CB71C2 #CBA771 #71CB7A #7195CB
square
#CB71C2 #CBA771 #71CB7A #7195CB
split-complementary
#CB71C2 #95CB71 #71CBA7
monochromatic
#8E3485 #BB44AF #CB71C2 #DB9ED5 #ECCBE8

Accessibility & contrast

On white

3.14
#CB71C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#CB71C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71C2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71C2#FFFFFF#000000##000000
##CB71C21.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C5
Deuteranopia (green-blind)
#8696BF
Tritanopia (blue-blind)
#D17890
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cb71c2;
/* rgb */ color: rgb(203, 113, 194);
/* oklch */ color: oklch(67.6% 0.152 330.9);
Tailwind
colors: {
  custom: {
    50: '#dc9cd4',
    500: '#cb71c2',
    950: '#000000',
  },
}
SCSS
$custom: #cb71c2;
$custom-light: #dc9cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71c2",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 306,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6764,
    "c": 0.15192,
    "h": 330.9
  },
  "luminance": 0.28402
}

Semantic roles & 50–950 ramp

primary
#CB71C2
secondary
#BBDCBF
accent
#BA3A2C
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CB71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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