#9A4EE4#9A4EE4

#9A4EE4 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.218 H 303.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9A4EE4
RGBrgb(154, 78, 228)
HSLhsl(270, 74%, 60%)
HSVhsv(270, 66%, 89%)
CMYKcmyk(32.5%, 65.8%, 0%, 10.6%)
CIE-LABlab(49.40, 58.73, -64.08)
CIE-LCHlch(49.40, 86.92, 312.51°)
OKLaboklab(58.95% 0.1209 -0.182)
OKLCHoklch(58.95% 0.218 303.6)
XYZxyz(30.0512, 17.9203, 75.2595)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4EE4 #98E44E
analogous
#4F4EE4 #9A4EE4 #E44EE3
triadic
#9A4EE4 #E49A4E #4EE49A
tetradic
#9A4EE4 #E44F4E #98E44E #4EE3E4
square
#9A4EE4 #E44F4E #98E44E #4EE3E4
split-complementary
#9A4EE4 #E3E44E #4EE44F
monochromatic
#5D189F #7C20D4 #9A4EE4 #B883EC #D7B8F4

Accessibility & contrast

On white

4.58
#9A4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9A4EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A4EE4
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4EE4#FFFFFF#000000##000000
##9A4EE41.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#1575E1
Tritanopia (blue-blind)
#8C6F93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a4ee4;
/* rgb */ color: rgb(154, 78, 228);
/* oklch */ color: oklch(58.9% 0.218 303.6);
Tailwind
colors: {
  custom: {
    50: '#bd84ed',
    500: '#9a4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ee4;
$custom-light: #bd84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ee4",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 270.4,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.58949,
    "c": 0.21847,
    "h": 303.6
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

primary
#9A4EE4
secondary
#C7E4AA
accent
#F03893
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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