#9A3EB2#9A3EB2

#9A3EB2 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.189 H 318.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9A3EB2
RGBrgb(154, 62, 178)
HSLhsl(288, 48%, 47%)
HSVhsv(288, 65%, 70%)
CMYKcmyk(13.5%, 65.2%, 0%, 30.2%)
CIE-LABlab(43.55, 55.27, -44.63)
CIE-LCHlch(43.55, 71.04, 321.08°)
OKLaboklab(53.73% 0.1421 -0.1249)
OKLCHoklch(53.73% 0.189 318.7)
XYZxyz(23.0839, 13.5306, 43.5066)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3EB2 #56B23E
analogous
#603EB2 #9A3EB2 #B23E90
triadic
#9A3EB2 #B29A3E #3EB29A
tetradic
#9A3EB2 #B2603E #56B23E #3E90B2
square
#9A3EB2 #B2603E #56B23E #3E90B2
split-complementary
#9A3EB2 #90B23E #3EB260
monochromatic
#4B1E57 #732E85 #9A3EB2 #B464C9 #CA92D9

Accessibility & contrast

On white

5.67
#9A3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9A3EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3EB2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3EB2#FFFFFF#000000##FFFFFF
##9A3EB21.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B5
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#9A5273
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a3eb2;
/* rgb */ color: rgb(154, 62, 178);
/* oklch */ color: oklch(53.7% 0.189 318.7);
Tailwind
colors: {
  custom: {
    50: '#bb7ac9',
    500: '#9a3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3eb2;
$custom-light: #bb7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3eb2",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 287.586,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53727,
    "c": 0.18918,
    "h": 318.7
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#9A3EB2
secondary
#94C488
accent
#D8506C
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9A3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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