#9D19B4#9D19B4

#9D19B4 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.2% C 0.230 H 320.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9D19B4
RGBrgb(157, 25, 180)
HSLhsl(291, 76%, 40%)
HSVhsv(291, 86%, 71%)
CMYKcmyk(12.8%, 86.1%, 0%, 29.4%)
CIE-LABlab(39.85, 68.53, -51.73)
CIE-LCHlch(39.85, 85.86, 322.95°)
OKLaboklab(51.23% 0.178 -0.1453)
OKLCHoklch(51.23% 0.23 320.8)
XYZxyz(22.4895, 11.1599, 44.1407)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D19B4 #30B419
analogous
#5019B4 #9D19B4 #B4197D
triadic
#9D19B4 #B49D19 #19B49D
tetradic
#9D19B4 #B45019 #30B419 #197DB4
square
#9D19B4 #B45019 #30B419 #197DB4
split-complementary
#9D19B4 #7DB419 #19B450
monochromatic
#3F0A49 #6E127E #9D19B4 #C629E1 #D45FE9

Accessibility & contrast

On white

6.50
#9D19B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9D19B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D19B4
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D19B4#FFFFFF#000000##FFFFFF
##9D19B41.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#2F62B1
Tritanopia (blue-blind)
#9E3F6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d19b4;
/* rgb */ color: rgb(157, 25, 180);
/* oklch */ color: oklch(51.2% 0.230 320.8);
Tailwind
colors: {
  custom: {
    50: '#bf6bcb',
    500: '#9d19b4',
    950: '#000000',
  },
}
SCSS
$custom: #9d19b4;
$custom-light: #bf6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d19b4",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 291.097,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51226,
    "c": 0.22976,
    "h": 320.8
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#9D19B4
secondary
#6DCD5C
accent
#F23652
background
#FCF6FC
surface
#F8ECF9
border
#D1C7D2
text
#130813
muted
#827A82

Preview Lab

Preview with #9D19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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