#CB71DA#CB71DA

#CB71DA is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.7% C 0.175 H 321.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CB71DA
RGBrgb(203, 113, 218)
HSLhsl(291, 59%, 65%)
HSVhsv(291, 48%, 85%)
CMYKcmyk(6.9%, 48.2%, 0%, 14.5%)
CIE-LABlab(61.28, 51.28, -39.16)
CIE-LCHlch(61.28, 64.53, 322.63°)
OKLaboklab(68.74% 0.1371 -0.1081)
OKLCHoklch(68.74% 0.175 321.7)
XYZxyz(43.1872, 29.5705, 69.7489)
Luminance0.2957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71DA #80DA71
analogous
#9771DA #CB71DA #DA71B4
triadic
#CB71DA #DACB71 #71DACB
tetradic
#CB71DA #DA9771 #80DA71 #71B4DA
square
#CB71DA #DA9771 #80DA71 #71B4DA
split-complementary
#CB71DA #B4DA71 #71DA97
monochromatic
#942BA5 #B940CD #CB71DA #DDA2E7 #EFD2F3

Accessibility & contrast

On white

3.04
#CB71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CB71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71DA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71DA#FFFFFF#000000##000000
##CB71DA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDE
Deuteranopia (green-blind)
#7C97D7
Tritanopia (blue-blind)
#CD7E9B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb71da;
/* rgb */ color: rgb(203, 113, 218);
/* oklch */ color: oklch(68.7% 0.175 321.7);
Tailwind
colors: {
  custom: {
    50: '#dd9de6',
    500: '#cb71da',
    950: '#000000',
  },
}
SCSS
$custom: #cb71da;
$custom-light: #dd9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71da",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 291.429,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68744,
    "c": 0.17457,
    "h": 321.7
  },
  "luminance": 0.29569
}

Semantic roles & 50–950 ramp

primary
#CB71DA
secondary
#C7E5C1
accent
#C61F37
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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