#9D1BB4#9D1BB4

#9D1BB4 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.3% C 0.228 H 320.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9D1BB4
RGBrgb(157, 27, 180)
HSLhsl(291, 74%, 41%)
HSVhsv(291, 85%, 71%)
CMYKcmyk(12.8%, 85%, 0%, 29.4%)
CIE-LABlab(40.00, 68.10, -51.49)
CIE-LCHlch(40.00, 85.37, 322.90°)
OKLaboklab(51.33% 0.1768 -0.1446)
OKLCHoklch(51.33% 0.228 320.7)
XYZxyz(22.5338, 11.2485, 44.1554)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1BB4 #32B41B
analogous
#501BB4 #9D1BB4 #B41B7F
triadic
#9D1BB4 #B49D1B #1BB49D
tetradic
#9D1BB4 #B4501B #32B41B #1B7FB4
square
#9D1BB4 #B4501B #32B41B #1B7FB4
split-complementary
#9D1BB4 #7FB41B #1BB450
monochromatic
#400B4A #6F137F #9D1BB4 #C52DDF #D362E7

Accessibility & contrast

On white

6.46
#9D1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9D1BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1BB4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1BB4#FFFFFF#000000##FFFFFF
##9D1BB41.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#3062B1
Tritanopia (blue-blind)
#9E406B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d1bb4;
/* rgb */ color: rgb(157, 27, 180);
/* oklch */ color: oklch(51.3% 0.228 320.7);
Tailwind
colors: {
  custom: {
    50: '#be6ccb',
    500: '#9d1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #9d1bb4;
$custom-light: #be6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1bb4",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 290.98,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.22843,
    "h": 320.7
  },
  "luminance": 0.11247
}

Semantic roles & 50–950 ramp

primary
#9D1BB4
secondary
#6FCC5F
accent
#F13753
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9D1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

#9D1BB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva