#CB71BD#CB71BD

#CB71BD is a light, vivid purple. Relative luminance 0.282; OKLCH L 67.4% C 0.148 H 333.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#CB71BD
RGBrgb(203, 113, 189)
HSLhsl(309, 46%, 62%)
HSVhsv(309, 44%, 80%)
CMYKcmyk(0%, 44.3%, 6.9%, 20.4%)
CIE-LABlab(60.05, 46.00, -24.68)
CIE-LCHlch(60.05, 52.20, 331.78°)
OKLaboklab(67.43% 0.1316 -0.0668)
OKLCHoklch(67.43% 0.148 333.1)
XYZxyz(39.7188, 28.1832, 51.4821)
Luminance0.2818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71BD #71CB7F
analogous
#AC71CB #CB71BD #CB7190
triadic
#CB71BD #BDCB71 #71BDCB
tetradic
#CB71BD #CBAC71 #71CB7F #7190CB
square
#CB71BD #CBAC71 #71CB7F #7190CB
split-complementary
#CB71BD #90CB71 #71CBAC
monochromatic
#8E3480 #BB44A8 #CB71BD #DB9ED2 #ECCBE7

Accessibility & contrast

On white

3.16
#CB71BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#CB71BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71BD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71BD#FFFFFF#000000##000000
##CB71BD1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089C0
Deuteranopia (green-blind)
#8895BA
Tritanopia (blue-blind)
#D2768E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cb71bd;
/* rgb */ color: rgb(203, 113, 189);
/* oklch */ color: oklch(67.4% 0.148 333.1);
Tailwind
colors: {
  custom: {
    50: '#dc9cd1',
    500: '#cb71bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb71bd;
$custom-light: #dc9cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71bd",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 309.333,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67426,
    "c": 0.14756,
    "h": 333.1
  },
  "luminance": 0.28181
}

Semantic roles & 50–950 ramp

primary
#CB71BD
secondary
#BBDCC0
accent
#BA422C
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E14
muted
#837E82

Preview Lab

Preview with #CB71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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