#CB71C8#CB71C8

#CB71C8 is a light, vivid purple. Relative luminance 0.287; OKLCH L 67.9% C 0.157 H 328.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#CB71C8
RGBrgb(203, 113, 200)
HSLhsl(302, 46%, 62%)
HSVhsv(302, 44%, 80%)
CMYKcmyk(0%, 44.3%, 1.5%, 20.4%)
CIE-LABlab(60.50, 47.93, -30.24)
CIE-LCHlch(60.50, 56.68, 327.75°)
OKLaboklab(67.9% 0.134 -0.0826)
OKLCHoklch(67.9% 0.157 328.3)
XYZxyz(40.9584, 28.6790, 58.0106)
Luminance0.2868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71C8 #71CB74
analogous
#A171CB #CB71C8 #CB719B
triadic
#CB71C8 #C8CB71 #71C8CB
tetradic
#CB71C8 #CBA171 #71CB74 #719BCB
square
#CB71C8 #CBA171 #71CB74 #719BCB
split-complementary
#CB71C8 #9BCB71 #71CBA1
monochromatic
#8E348B #BB44B7 #CB71C8 #DB9ED9 #ECCBEB

Accessibility & contrast

On white

3.12
#CB71C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#CB71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71C8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71C8#FFFFFF#000000##000000
##CB71C81.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8ACB
Deuteranopia (green-blind)
#8496C5
Tritanopia (blue-blind)
#D07993
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cb71c8;
/* rgb */ color: rgb(203, 113, 200);
/* oklch */ color: oklch(67.9% 0.157 328.3);
Tailwind
colors: {
  custom: {
    50: '#dd9cd9',
    500: '#cb71c8',
    950: '#000000',
  },
}
SCSS
$custom: #cb71c8;
$custom-light: #dd9cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71c8",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 302,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67903,
    "c": 0.15735,
    "h": 328.3
  },
  "luminance": 0.28677
}

Semantic roles & 50–950 ramp

primary
#CB71C8
secondary
#BBDCBC
accent
#BA312C
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CB71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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