#9A1D98#9A1D98

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

Color values

HEX#9A1D98
RGBrgb(154, 29, 152)
HSLhsl(301, 68%, 36%)
HSVhsv(301, 81%, 60%)
CMYKcmyk(0%, 81.2%, 1.3%, 39.6%)
CIE-LABlab(37.87, 62.35, -38.13)
CIE-LCHlch(37.87, 73.08, 328.55°)
OKLaboklab(49.17% 0.1751 -0.1057)
OKLCHoklch(49.17% 0.205 328.9)
XYZxyz(19.4331, 10.0173, 30.6097)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D98 #1D9A1F
analogous
#5D1D9A #9A1D98 #9A1D59
triadic
#9A1D98 #989A1D #1D989A
tetradic
#9A1D98 #9A5D1D #1D9A1F #1D599A
square
#9A1D98 #9A5D1D #1D9A1F #1D599A
split-complementary
#9A1D98 #599A1D #1D9A5D
monochromatic
#330A32 #661365 #9A1D98 #CE27CB #DF53DC

Accessibility & contrast

On white

6.99
#9A1D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9A1D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1D98
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D98#FFFFFF#000000##FFFFFF
##9A1D981.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a1d98;
/* rgb */ color: rgb(154, 29, 152);
/* oklch */ color: oklch(49.2% 0.204 328.9);
Tailwind
colors: {
  custom: {
    50: '#bc6ab7',
    500: '#9a1d98',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d98;
$custom-light: #bc6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d98",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 300.96,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49169,
    "c": 0.2045,
    "h": 328.9
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#9A1D98
secondary
#51C253
accent
#EB3F3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9A1D98

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

Preview Lab → · Contrast checker → · Palette generator →

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