#9A4AE1#9A4AE1

#9A4AE1 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.220 H 304.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9A4AE1
RGBrgb(154, 74, 225)
HSLhsl(272, 72%, 59%)
HSVhsv(272, 67%, 88%)
CMYKcmyk(31.6%, 67.1%, 0%, 11.8%)
CIE-LABlab(48.52, 59.92, -63.81)
CIE-LCHlch(48.52, 87.53, 313.20°)
OKLaboklab(58.25% 0.1255 -0.1812)
OKLCHoklch(58.25% 0.22 304.7)
XYZxyz(29.3628, 17.2040, 72.9934)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4AE1 #91E14A
analogous
#4E4AE1 #9A4AE1 #E14ADC
triadic
#9A4AE1 #E19A4A #4AE19A
tetradic
#9A4AE1 #E14E4A #91E14A #4ADCE1
square
#9A4AE1 #E14E4A #91E14A #4ADCE1
split-complementary
#9A4AE1 #DCE14A #4AE14E
monochromatic
#5C1997 #7C22CC #9A4AE1 #B77EEA #D5B3F2

Accessibility & contrast

On white

4.73
#9A4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9A4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4AE1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4AE1#FFFFFF#000000##FFFFFF
##9A4AE11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#1273DE
Tritanopia (blue-blind)
#8D6C90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9a4ae1;
/* rgb */ color: rgb(154, 74, 225);
/* oklch */ color: oklch(58.3% 0.220 304.7);
Tailwind
colors: {
  custom: {
    50: '#bd82eb',
    500: '#9a4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ae1;
$custom-light: #bd82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ae1",
  "rgb": {
    "r": 154,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 271.788,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58251,
    "c": 0.22037,
    "h": 304.7
  },
  "luminance": 0.17204
}

Semantic roles & 50–950 ramp

primary
#9A4AE1
secondary
#C2E1A6
accent
#EE398F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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