#9A3DA2#9A3DA2

#9A3DA2 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.7% C 0.176 H 324.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9A3DA2
RGBrgb(154, 61, 162)
HSLhsl(295, 45%, 44%)
HSVhsv(295, 62%, 64%)
CMYKcmyk(4.9%, 62.3%, 0%, 36.5%)
CIE-LABlab(42.49, 52.63, -36.83)
CIE-LCHlch(42.49, 64.24, 325.01°)
OKLaboklab(52.66% 0.143 -0.1021)
OKLCHoklch(52.66% 0.176 324.5)
XYZxyz(21.5162, 12.8174, 35.5161)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DA2 #45A23D
analogous
#673DA2 #9A3DA2 #A23D77
triadic
#9A3DA2 #A29A3D #3DA29A
tetradic
#9A3DA2 #A2673D #45A23D #3D77A2
square
#9A3DA2 #A2673D #45A23D #3D77A2
split-complementary
#9A3DA2 #77A23D #3DA267
monochromatic
#451C49 #702C76 #9A3DA2 #B95BC1 #CC87D2

Accessibility & contrast

On white

5.89
#9A3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9A3DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DA2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DA2#FFFFFF#000000##FFFFFF
##9A3DA21.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#9D4C6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a3da2;
/* rgb */ color: rgb(154, 61, 162);
/* oklch */ color: oklch(52.7% 0.176 324.5);
Tailwind
colors: {
  custom: {
    50: '#bb79be',
    500: '#9a3da2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3da2;
$custom-light: #bb79be;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3da2",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 295.248,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.17575,
    "h": 324.5
  },
  "luminance": 0.12816
}

Semantic roles & 50–950 ramp

primary
#9A3DA2
secondary
#83BC7E
accent
#D5535D
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9A3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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