#9A1EA8#9A1EA8

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

Color values

HEX#9A1EA8
RGBrgb(154, 30, 168)
HSLhsl(294, 70%, 39%)
HSVhsv(294, 82%, 66%)
CMYKcmyk(8.3%, 82.1%, 0%, 34.1%)
CIE-LABlab(38.95, 64.76, -46.07)
CIE-LCHlch(38.95, 79.47, 324.57°)
OKLaboklab(50.24% 0.1731 -0.1288)
OKLCHoklch(50.24% 0.216 323.3)
XYZxyz(20.8579, 10.6270, 37.9908)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1EA8 #2CA81E
analogous
#551EA8 #9A1EA8 #A81E71
triadic
#9A1EA8 #A89A1E #1EA89A
tetradic
#9A1EA8 #A8551E #2CA81E #1E71A8
square
#9A1EA8 #A8551E #2CA81E #1E71A8
split-complementary
#9A1EA8 #71A81E #1EA855
monochromatic
#3B0B40 #6A1574 #9A1EA8 #C72AD9 #D55EE2

Accessibility & contrast

On white

6.72
#9A1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9A1EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1EA8
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1EA8#FFFFFF#000000##FFFFFF
##9A1EA81.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#3960A5
Tritanopia (blue-blind)
#9C3C65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a1ea8;
/* rgb */ color: rgb(154, 30, 168);
/* oklch */ color: oklch(50.2% 0.216 323.3);
Tailwind
colors: {
  custom: {
    50: '#bc6bc2',
    500: '#9a1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #9a1ea8;
$custom-light: #bc6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1ea8",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 293.913,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50242,
    "c": 0.21582,
    "h": 323.3
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#9A1EA8
secondary
#66C75B
accent
#ED3B4D
background
#FCF6FC
surface
#F8ECF8
border
#D1C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9A1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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