#9B1F90#9B1F90

#9B1F90 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.197 H 332.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9B1F90
RGBrgb(155, 31, 144)
HSLhsl(305, 67%, 36%)
HSVhsv(305, 80%, 61%)
CMYKcmyk(0%, 80%, 7.1%, 39.2%)
CIE-LABlab(37.78, 60.77, -33.40)
CIE-LCHlch(37.78, 69.34, 331.21°)
OKLaboklab(48.99% 0.1747 -0.0919)
OKLCHoklch(48.99% 0.197 332.2)
XYZxyz(19.0417, 9.9638, 27.3005)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F90 #1F9B2A
analogous
#681F9B #9B1F90 #9B1F52
triadic
#9B1F90 #909B1F #1F909B
tetradic
#9B1F90 #9B681F #1F9B2A #1F529B
square
#9B1F90 #9B681F #1F9B2A #1F529B
split-complementary
#9B1F90 #529B1F #1F9B68
monochromatic
#350B31 #681561 #9B1F90 #CE29BF #DD57D1

Accessibility & contrast

On white

7.02
#9B1F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9B1F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F90
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F90#FFFFFF#000000##FFFFFF
##9B1F901.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E93
Deuteranopia (green-blind)
#4A5F8D
Tritanopia (blue-blind)
#A22F57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b1f90;
/* rgb */ color: rgb(155, 31, 144);
/* oklch */ color: oklch(49.0% 0.197 332.2);
Tailwind
colors: {
  custom: {
    50: '#bc6bb1',
    500: '#9b1f90',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f90;
$custom-light: #bc6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f90",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 305.323,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48987,
    "c": 0.19739,
    "h": 332.2
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#9B1F90
secondary
#55C15E
accent
#EA4D3E
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1F90

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

Preview Lab → · Contrast checker → · Palette generator →

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