#9A4AE6#9A4AE6

#9A4AE6 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.6% C 0.226 H 303.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9A4AE6
RGBrgb(154, 74, 230)
HSLhsl(271, 76%, 60%)
HSVhsv(271, 68%, 90%)
CMYKcmyk(33%, 67.8%, 0%, 9.8%)
CIE-LABlab(48.86, 61.07, -66.08)
CIE-LCHlch(48.86, 89.98, 312.74°)
OKLaboklab(58.61% 0.1248 -0.1878)
OKLCHoklch(58.61% 0.226 303.6)
XYZxyz(30.0548, 17.4808, 76.6383)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4AE6 #96E64A
analogous
#4C4AE6 #9A4AE6 #E64AE4
triadic
#9A4AE6 #E69A4A #4AE69A
tetradic
#9A4AE6 #E64C4A #96E64A #4AE4E6
square
#9A4AE6 #E64C4A #96E64A #4AE4E6
split-complementary
#9A4AE6 #E4E64A #4AE64C
monochromatic
#5D16A0 #7C1DD5 #9A4AE6 #B880ED #D6B6F5

Accessibility & contrast

On white

4.67
#9A4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9A4AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4AE6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4AE6#FFFFFF#000000##FFFFFF
##9A4AE61.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#8B6E92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a4ae6;
/* rgb */ color: rgb(154, 74, 230);
/* oklch */ color: oklch(58.6% 0.226 303.6);
Tailwind
colors: {
  custom: {
    50: '#bd82ef',
    500: '#9a4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ae6;
$custom-light: #bd82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ae6",
  "rgb": {
    "r": 154,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 270.769,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58606,
    "c": 0.22555,
    "h": 303.6
  },
  "luminance": 0.17481
}

Semantic roles & 50–950 ramp

primary
#9A4AE6
secondary
#C5E4A8
accent
#F23591
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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