#CB71CF#CB71CF

#CB71CF is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.2% C 0.164 H 325.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#CB71CF
RGBrgb(203, 113, 207)
HSLhsl(297, 49%, 63%)
HSVhsv(297, 45%, 81%)
CMYKcmyk(1.9%, 45.4%, 0%, 18.8%)
CIE-LABlab(60.79, 49.21, -33.74)
CIE-LCHlch(60.79, 59.67, 325.57°)
OKLaboklab(68.22% 0.1353 -0.0925)
OKLCHoklch(68.22% 0.164 325.6)
XYZxyz(41.7953, 29.0138, 62.4181)
Luminance0.2901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71CF #75CF71
analogous
#9C71CF #CB71CF #CF71A4
triadic
#CB71CF #CFCB71 #71CFCB
tetradic
#CB71CF #CF9C71 #75CF71 #71A4CF
square
#CB71CF #CF9C71 #75CF71 #71A4CF
split-complementary
#CB71CF #A4CF71 #71CF9C
monochromatic
#903294 #BA43C0 #CB71CF #DC9FDE #ECCCEE

Accessibility & contrast

On white

3.09
#CB71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#CB71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71CF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71CF#FFFFFF#000000##000000
##CB71CF1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#8197CC
Tritanopia (blue-blind)
#CF7B96
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cb71cf;
/* rgb */ color: rgb(203, 113, 207);
/* oklch */ color: oklch(68.2% 0.164 325.6);
Tailwind
colors: {
  custom: {
    50: '#dd9cde',
    500: '#cb71cf',
    950: '#000000',
  },
}
SCSS
$custom: #cb71cf;
$custom-light: #dd9cde;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71cf",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 297.447,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68221,
    "c": 0.1639,
    "h": 325.6
  },
  "luminance": 0.29012
}

Semantic roles & 50–950 ramp

primary
#CB71CF
secondary
#BEDFBD
accent
#BD292F
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CB71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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