#C91AB7#C91AB7

#C91AB7 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.3% C 0.249 H 333.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C91AB7
RGBrgb(201, 26, 183)
HSLhsl(306, 77%, 45%)
HSVhsv(306, 87%, 79%)
CMYKcmyk(0%, 87.1%, 9%, 21.2%)
CIE-LABlab(47.72, 76.76, -40.48)
CIE-LCHlch(47.72, 86.78, 332.20°)
OKLaboklab(58.27% 0.2225 -0.1113)
OKLCHoklch(58.27% 0.249 333.4)
XYZxyz(33.0043, 16.5782, 46.2523)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C91AB7 #1AC92C
analogous
#831AC9 #C91AB7 #C91A60
triadic
#C91AB7 #B7C91A #1AB7C9
tetradic
#C91AB7 #C9831A #1AC92C #1A60C9
square
#C91AB7 #C9831A #1AC92C #1A60C9
split-complementary
#C91AB7 #60C91A #1AC983
monochromatic
#5D0C54 #931386 #C91AB7 #E63BD4 #ED71E0

Accessibility & contrast

On white

4.87
#C91AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C91AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C91AB7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C91AB7#FFFFFF#000000##FFFFFF
##C91AB71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0962BB
Deuteranopia (green-blind)
#5F7AB3
Tritanopia (blue-blind)
#D2336D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c91ab7;
/* rgb */ color: rgb(201, 26, 183);
/* oklch */ color: oklch(58.3% 0.249 333.4);
Tailwind
colors: {
  custom: {
    50: '#de72cd',
    500: '#c91ab7',
    950: '#000000',
  },
}
SCSS
$custom: #c91ab7;
$custom-light: #de72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c91ab7",
  "rgb": {
    "r": 201,
    "g": 26,
    "b": 183
  },
  "hsl": {
    "h": 306.171,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.58272,
    "c": 0.24877,
    "h": 333.4
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#C91AB7
secondary
#6CD376
accent
#F44834
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160913
muted
#847B82

Preview Lab

Preview with #C91AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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