#9A1FA9#9A1FA9

#9A1FA9 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.4% C 0.216 H 323.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9A1FA9
RGBrgb(154, 31, 169)
HSLhsl(293, 69%, 39%)
HSVhsv(293, 82%, 66%)
CMYKcmyk(8.9%, 81.7%, 0%, 33.7%)
CIE-LABlab(39.10, 64.67, -46.42)
CIE-LCHlch(39.10, 79.61, 324.33°)
OKLaboklab(50.37% 0.1723 -0.1299)
OKLCHoklch(50.37% 0.216 323)
XYZxyz(20.9772, 10.7159, 38.4919)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1FA9 #2EA91F
analogous
#551FA9 #9A1FA9 #A91F73
triadic
#9A1FA9 #A99A1F #1FA99A
tetradic
#9A1FA9 #A9551F #2EA91F #1F73A9
square
#9A1FA9 #A9551F #2EA91F #1F73A9
split-complementary
#9A1FA9 #73A91F #1FA955
monochromatic
#3C0C42 #6B1675 #9A1FA9 #C62DD8 #D460E2

Accessibility & contrast

On white

6.68
#9A1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9A1FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1FA9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1FA9#FFFFFF#000000##FFFFFF
##9A1FA91.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#3861A6
Tritanopia (blue-blind)
#9C3D66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a1fa9;
/* rgb */ color: rgb(154, 31, 169);
/* oklch */ color: oklch(50.4% 0.216 323.0);
Tailwind
colors: {
  custom: {
    50: '#bc6cc3',
    500: '#9a1fa9',
    950: '#000000',
  },
}
SCSS
$custom: #9a1fa9;
$custom-light: #bc6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1fa9",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 293.478,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5037,
    "c": 0.2158,
    "h": 323
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#9A1FA9
secondary
#69C75D
accent
#EC3C4F
background
#FCF6FC
surface
#F8ECF8
border
#D1C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9A1FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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