#9A1EA7#9A1EA7

#9A1EA7 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.215 H 323.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9A1EA7
RGBrgb(154, 30, 167)
HSLhsl(294, 70%, 39%)
HSVhsv(294, 82%, 65%)
CMYKcmyk(7.8%, 82%, 0%, 34.5%)
CIE-LABlab(38.88, 64.58, -45.57)
CIE-LCHlch(38.88, 79.04, 324.79°)
OKLaboklab(50.18% 0.1732 -0.1274)
OKLCHoklch(50.18% 0.215 323.7)
XYZxyz(20.7651, 10.5899, 37.5021)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1EA7 #2BA71E
analogous
#561EA7 #9A1EA7 #A71E6F
triadic
#9A1EA7 #A79A1E #1EA79A
tetradic
#9A1EA7 #A7561E #2BA71E #1E6FA7
square
#9A1EA7 #A7561E #2BA71E #1E6FA7
split-complementary
#9A1EA7 #6FA71E #1EA756
monochromatic
#3A0B3F #6A1573 #9A1EA7 #C82AD9 #D55DE2

Accessibility & contrast

On white

6.74
#9A1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9A1EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1EA7
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1EA7#FFFFFF#000000##FFFFFF
##9A1EA71.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#3A60A4
Tritanopia (blue-blind)
#9D3B64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a1ea7;
/* rgb */ color: rgb(154, 30, 167);
/* oklch */ color: oklch(50.2% 0.215 323.7);
Tailwind
colors: {
  custom: {
    50: '#bc6bc2',
    500: '#9a1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #9a1ea7;
$custom-light: #bc6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1ea7",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 294.307,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.21505,
    "h": 323.7
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#9A1EA7
secondary
#65C65B
accent
#EC3B4C
background
#FCF6FC
surface
#F8ECF8
border
#D1C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9A1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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