#9A3EB3#9A3EB3

#9A3EB3 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.190 H 318.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9A3EB3
RGBrgb(154, 62, 179)
HSLhsl(287, 49%, 47%)
HSVhsv(287, 65%, 70%)
CMYKcmyk(14%, 65.4%, 0%, 29.8%)
CIE-LABlab(43.61, 55.46, -45.13)
CIE-LCHlch(43.61, 71.50, 320.87°)
OKLaboklab(53.79% 0.1421 -0.1263)
OKLCHoklch(53.79% 0.19 318.4)
XYZxyz(23.1846, 13.5709, 44.0373)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3EB3 #57B33E
analogous
#5F3EB3 #9A3EB3 #B33E92
triadic
#9A3EB3 #B39A3E #3EB39A
tetradic
#9A3EB3 #B35F3E #57B33E #3E92B3
square
#9A3EB3 #B35F3E #57B33E #3E92B3
split-complementary
#9A3EB3 #92B33E #3EB35F
monochromatic
#4C1F58 #732E86 #9A3EB3 #B465CA #CA92D9

Accessibility & contrast

On white

5.65
#9A3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A3EB3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3EB3#FFFFFF#000000##FFFFFF
##9A3EB31.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1561B7
Deuteranopia (green-blind)
#446AB0
Tritanopia (blue-blind)
#9A5373
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a3eb3;
/* rgb */ color: rgb(154, 62, 179);
/* oklch */ color: oklch(53.8% 0.190 318.4);
Tailwind
colors: {
  custom: {
    50: '#bb7aca',
    500: '#9a3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #9a3eb3;
$custom-light: #bb7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3eb3",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 287.179,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.19014,
    "h": 318.4
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#9A3EB3
secondary
#95C588
accent
#D8506D
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9A3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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