#9A1D9F#9A1D9F

#9A1D9F is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.210 H 326.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9A1D9F
RGBrgb(154, 29, 159)
HSLhsl(298, 69%, 37%)
HSVhsv(298, 82%, 62%)
CMYKcmyk(3.1%, 81.8%, 0%, 37.6%)
CIE-LABlab(38.29, 63.49, -41.70)
CIE-LCHlch(38.29, 75.96, 326.70°)
OKLaboklab(49.6% 0.1747 -0.1161)
OKLCHoklch(49.6% 0.21 326.4)
XYZxyz(20.0234, 10.2534, 33.7186)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D9F #229F1D
analogous
#591D9F #9A1D9F #9F1D63
triadic
#9A1D9F #9F9A1D #1D9F9A
tetradic
#9A1D9F #9F591D #229F1D #1D639F
square
#9A1D9F #9F591D #229F1D #1D639F
split-complementary
#9A1D9F #639F1D #1D9F59
monochromatic
#360A37 #68146B #9A1D9F #CC26D3 #DB56E0

Accessibility & contrast

On white

6.88
#9A1D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9A1D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1D9F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D9F#FFFFFF#000000##FFFFFF
##9A1D9F1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#3F5F9C
Tritanopia (blue-blind)
#9E365F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a1d9f;
/* rgb */ color: rgb(154, 29, 159);
/* oklch */ color: oklch(49.6% 0.210 326.4);
Tailwind
colors: {
  custom: {
    50: '#bc6bbc',
    500: '#9a1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d9f;
$custom-light: #bc6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d9f",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 297.692,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.20974,
    "h": 326.4
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#9A1D9F
secondary
#58C454
accent
#EC3C43
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9A1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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