#9D1F90#9D1F90

#9D1F90 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.198 H 333.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9D1F90
RGBrgb(157, 31, 144)
HSLhsl(306, 67%, 37%)
HSVhsv(306, 80%, 62%)
CMYKcmyk(0%, 80.3%, 8.3%, 38.4%)
CIE-LABlab(38.13, 61.20, -32.81)
CIE-LCHlch(38.13, 69.44, 331.81°)
OKLaboklab(49.31% 0.1767 -0.0902)
OKLCHoklch(49.31% 0.198 333)
XYZxyz(19.4288, 10.1634, 27.3186)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F90 #1F9D2C
analogous
#6B1F9D #9D1F90 #9D1F51
triadic
#9D1F90 #909D1F #1F909D
tetradic
#9D1F90 #9D6B1F #1F9D2C #1F519D
square
#9D1F90 #9D6B1F #1F9D2C #1F519D
split-complementary
#9D1F90 #519D1F #1F9D6B
monochromatic
#370B32 #6A1561 #9D1F90 #D029BF #DE58D0

Accessibility & contrast

On white

6.93
#9D1F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D1F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1F90
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F90#FFFFFF#000000##FFFFFF
##9D1F901.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E93
Deuteranopia (green-blind)
#4C608D
Tritanopia (blue-blind)
#A42E57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1f90;
/* rgb */ color: rgb(157, 31, 144);
/* oklch */ color: oklch(49.3% 0.198 333.0);
Tailwind
colors: {
  custom: {
    50: '#be6bb1',
    500: '#9d1f90',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f90;
$custom-light: #be6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f90",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 306.19,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49309,
    "c": 0.19839,
    "h": 333
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#9D1F90
secondary
#56C261
accent
#EA503E
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D1F90

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

Preview Lab → · Contrast checker → · Palette generator →

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