#9A3EB4#9A3EB4

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

Color values

HEX#9A3EB4
RGBrgb(154, 62, 180)
HSLhsl(287, 49%, 47%)
HSVhsv(287, 66%, 71%)
CMYKcmyk(14.4%, 65.6%, 0%, 29.4%)
CIE-LABlab(43.67, 55.66, -45.62)
CIE-LCHlch(43.67, 71.97, 320.66°)
OKLaboklab(53.85% 0.1421 -0.1278)
OKLCHoklch(53.85% 0.191 318)
XYZxyz(23.2861, 13.6115, 44.5719)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3EB4 #58B43E
analogous
#5F3EB4 #9A3EB4 #B43E93
triadic
#9A3EB4 #B49A3E #3EB49A
tetradic
#9A3EB4 #B45F3E #58B43E #3E93B4
square
#9A3EB4 #B45F3E #58B43E #3E93B4
split-complementary
#9A3EB4 #93B43E #3EB45F
monochromatic
#4C1F59 #732E86 #9A3EB4 #B465CA #CA93DA

Accessibility & contrast

On white

5.64
#9A3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9A3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3EB4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3EB4#FFFFFF#000000##FFFFFF
##9A3EB41.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B8
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#995374
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a3eb4;
/* rgb */ color: rgb(154, 62, 180);
/* oklch */ color: oklch(53.8% 0.191 318.0);
Tailwind
colors: {
  custom: {
    50: '#bb7acb',
    500: '#9a3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #9a3eb4;
$custom-light: #bb7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3eb4",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 286.78,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.19108,
    "h": 318
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#9A3EB4
secondary
#96C589
accent
#D84F6E
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9A3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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