#9A1E98#9A1E98

#9A1E98 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.204 H 328.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9A1E98
RGBrgb(154, 30, 152)
HSLhsl(301, 67%, 36%)
HSVhsv(301, 81%, 60%)
CMYKcmyk(0%, 80.5%, 1.3%, 39.6%)
CIE-LABlab(37.96, 62.09, -37.99)
CIE-LCHlch(37.96, 72.79, 328.54°)
OKLaboklab(49.23% 0.1743 -0.1053)
OKLCHoklch(49.23% 0.204 328.9)
XYZxyz(19.4580, 10.0671, 30.6180)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E98 #1E9A20
analogous
#5E1E9A #9A1E98 #9A1E5A
triadic
#9A1E98 #989A1E #1E989A
tetradic
#9A1E98 #9A5E1E #1E9A20 #1E5A9A
square
#9A1E98 #9A5E1E #1E9A20 #1E5A9A
split-complementary
#9A1E98 #5A9A1E #1E9A5E
monochromatic
#340A33 #671465 #9A1E98 #CD28CB #DE55DC

Accessibility & contrast

On white

6.97
#9A1E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9A1E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1E98
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E98#FFFFFF#000000##FFFFFF
##9A1E981.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#9F335C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a1e98;
/* rgb */ color: rgb(154, 30, 152);
/* oklch */ color: oklch(49.2% 0.204 328.9);
Tailwind
colors: {
  custom: {
    50: '#bc6bb7',
    500: '#9a1e98',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e98;
$custom-light: #bc6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e98",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 300.968,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.20365,
    "h": 328.9
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#9A1E98
secondary
#53C154
accent
#EA403E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9A1E98

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

Preview Lab → · Contrast checker → · Palette generator →

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