#9A4AE4#9A4AE4

#9A4AE4 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.223 H 304.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9A4AE4
RGBrgb(154, 74, 228)
HSLhsl(271, 74%, 59%)
HSVhsv(271, 68%, 89%)
CMYKcmyk(32.5%, 67.5%, 0%, 10.6%)
CIE-LABlab(48.72, 60.61, -65.17)
CIE-LCHlch(48.72, 89.00, 312.92°)
OKLaboklab(58.46% 0.1251 -0.1852)
OKLCHoklch(58.46% 0.223 304)
XYZxyz(29.7756, 17.3691, 75.1677)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4AE4 #94E44A
analogous
#4D4AE4 #9A4AE4 #E44AE1
triadic
#9A4AE4 #E49A4A #4AE49A
tetradic
#9A4AE4 #E44D4A #94E44A #4AE1E4
square
#9A4AE4 #E44D4A #94E44A #4AE1E4
split-complementary
#9A4AE4 #E1E44A #4AE44D
monochromatic
#5C179C #7C1FD2 #9A4AE4 #B87FEC #D5B5F4

Accessibility & contrast

On white

4.69
#9A4AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9A4AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4AE4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4AE4#FFFFFF#000000##FFFFFF
##9A4AE41.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#0374E1
Tritanopia (blue-blind)
#8C6D91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a4ae4;
/* rgb */ color: rgb(154, 74, 228);
/* oklch */ color: oklch(58.5% 0.223 304.0);
Tailwind
colors: {
  custom: {
    50: '#bd82ed',
    500: '#9a4ae4',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ae4;
$custom-light: #bd82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ae4",
  "rgb": {
    "r": 154,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 271.169,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.22348,
    "h": 304
  },
  "luminance": 0.17369
}

Semantic roles & 50–950 ramp

primary
#9A4AE4
secondary
#C4E3A7
accent
#F13790
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A4AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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