#9D1892#9D1892

#9D1892 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.205 H 332.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9D1892
RGBrgb(157, 24, 146)
HSLhsl(305, 73%, 35%)
HSVhsv(305, 85%, 62%)
CMYKcmyk(0%, 84.7%, 7%, 38.4%)
CIE-LABlab(37.66, 63.20, -34.78)
CIE-LCHlch(37.66, 72.14, 331.17°)
OKLaboklab(49.01% 0.1817 -0.0959)
OKLCHoklch(49.01% 0.205 332.2)
XYZxyz(19.4197, 9.8984, 28.0764)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1892 #189D23
analogous
#65189D #9D1892 #9D1850
triadic
#9D1892 #929D18 #18929D
tetradic
#9D1892 #9D6518 #189D23 #18509D
square
#9D1892 #9D6518 #189D23 #18509D
split-complementary
#9D1892 #509D18 #189D65
monochromatic
#33082F #681061 #9D1892 #D220C3 #E44CD7

Accessibility & contrast

On white

7.05
#9D1892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D1892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1892
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1892#FFFFFF#000000##FFFFFF
##9D18921.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074D95
Deuteranopia (green-blind)
#495F8F
Tritanopia (blue-blind)
#A42B57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1892;
/* rgb */ color: rgb(157, 24, 146);
/* oklch */ color: oklch(49.0% 0.205 332.2);
Tailwind
colors: {
  custom: {
    50: '#be69b2',
    500: '#9d1892',
    950: '#000000',
  },
}
SCSS
$custom: #9d1892;
$custom-light: #be69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1892",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 146
  },
  "hsl": {
    "h": 304.962,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49006,
    "c": 0.20542,
    "h": 332.2
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#9D1892
secondary
#4BC555
accent
#F04738
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1892

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

Preview Lab → · Contrast checker → · Palette generator →

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