#CB71BF#CB71BF

#CB71BF is a light, vivid purple. Relative luminance 0.283; OKLCH L 67.5% C 0.149 H 332.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#CB71BF
RGBrgb(203, 113, 191)
HSLhsl(308, 46%, 62%)
HSVhsv(308, 44%, 80%)
CMYKcmyk(0%, 44.3%, 5.9%, 20.4%)
CIE-LABlab(60.13, 46.34, -25.70)
CIE-LCHlch(60.13, 52.99, 330.99°)
OKLaboklab(67.51% 0.132 -0.0697)
OKLCHoklch(67.51% 0.149 332.2)
XYZxyz(39.9374, 28.2706, 52.6333)
Luminance0.2827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71BF #71CB7D
analogous
#AA71CB #CB71BF #CB7192
triadic
#CB71BF #BFCB71 #71BFCB
tetradic
#CB71BF #CBAA71 #71CB7D #7192CB
square
#CB71BF #CBAA71 #71CB7D #7192CB
split-complementary
#CB71BF #92CB71 #71CBAA
monochromatic
#8E3482 #BB44AB #CB71BF #DB9ED3 #ECCBE7

Accessibility & contrast

On white

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

On black

6.65
#CB71BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71BF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71BF#FFFFFF#000000##000000
##CB71BF1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C2
Deuteranopia (green-blind)
#8796BC
Tritanopia (blue-blind)
#D2778F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cb71bf;
/* rgb */ color: rgb(203, 113, 191);
/* oklch */ color: oklch(67.5% 0.149 332.2);
Tailwind
colors: {
  custom: {
    50: '#dc9cd2',
    500: '#cb71bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb71bf;
$custom-light: #dc9cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71bf",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 308,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67511,
    "c": 0.14928,
    "h": 332.2
  },
  "luminance": 0.28268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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