#9A3DB2#9A3DB2

#9A3DB2 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.6% C 0.191 H 318.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9A3DB2
RGBrgb(154, 61, 178)
HSLhsl(288, 49%, 47%)
HSVhsv(288, 66%, 70%)
CMYKcmyk(13.5%, 65.7%, 0%, 30.2%)
CIE-LABlab(43.39, 55.71, -44.89)
CIE-LCHlch(43.39, 71.54, 321.14°)
OKLaboklab(53.61% 0.1433 -0.1256)
OKLCHoklch(53.61% 0.191 318.8)
XYZxyz(23.0300, 13.4229, 43.4886)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DB2 #55B23D
analogous
#5F3DB2 #9A3DB2 #B23D90
triadic
#9A3DB2 #B29A3D #3DB29A
tetradic
#9A3DB2 #B25F3D #55B23D #3D90B2
square
#9A3DB2 #B25F3D #55B23D #3D90B2
split-complementary
#9A3DB2 #90B23D #3DB25F
monochromatic
#4B1E57 #732D84 #9A3DB2 #B463C9 #CA90D9

Accessibility & contrast

On white

5.70
#9A3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9A3DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DB2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DB2#FFFFFF#000000##FFFFFF
##9A3DB21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B5
Deuteranopia (green-blind)
#446AAF
Tritanopia (blue-blind)
#9A5272
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a3db2;
/* rgb */ color: rgb(154, 61, 178);
/* oklch */ color: oklch(53.6% 0.191 318.8);
Tailwind
colors: {
  custom: {
    50: '#bb79c9',
    500: '#9a3db2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3db2;
$custom-light: #bb79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3db2",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 287.692,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53613,
    "c": 0.19054,
    "h": 318.8
  },
  "luminance": 0.13422
}

Semantic roles & 50–950 ramp

primary
#9A3DB2
secondary
#93C487
accent
#D94F6B
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9A3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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