#CB71BE#CB71BE

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

Color values

HEX#CB71BE
RGBrgb(203, 113, 190)
HSLhsl(309, 46%, 62%)
HSVhsv(309, 44%, 80%)
CMYKcmyk(0%, 44.3%, 6.4%, 20.4%)
CIE-LABlab(60.09, 46.17, -25.19)
CIE-LCHlch(60.09, 52.59, 331.38°)
OKLaboklab(67.47% 0.1318 -0.0683)
OKLCHoklch(67.47% 0.148 332.6)
XYZxyz(39.8277, 28.2267, 52.0557)
Luminance0.2822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71BE #71CB7E
analogous
#AB71CB #CB71BE #CB7191
triadic
#CB71BE #BECB71 #71BECB
tetradic
#CB71BE #CBAB71 #71CB7E #7191CB
square
#CB71BE #CBAB71 #71CB7E #7191CB
split-complementary
#CB71BE #91CB71 #71CBAB
monochromatic
#8E3481 #BB44A9 #CB71BE #DB9ED3 #ECCBE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB71BE#FFFFFF#000000##000000
##CB71BE1.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)
#6F89C1
Deuteranopia (green-blind)
#8795BB
Tritanopia (blue-blind)
#D2778F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cb71be;
/* rgb */ color: rgb(203, 113, 190);
/* oklch */ color: oklch(67.5% 0.148 332.6);
Tailwind
colors: {
  custom: {
    50: '#dc9cd1',
    500: '#cb71be',
    950: '#000000',
  },
}
SCSS
$custom: #cb71be;
$custom-light: #dc9cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71be",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 308.667,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67469,
    "c": 0.14843,
    "h": 332.6
  },
  "luminance": 0.28224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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