#9A4DE9#9A4DE9

#9A4DE9 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.2% C 0.225 H 302.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9A4DE9
RGBrgb(154, 77, 233)
HSLhsl(270, 78%, 61%)
HSVhsv(270, 67%, 91%)
CMYKcmyk(33.9%, 67%, 0%, 8.6%)
CIE-LABlab(49.57, 60.37, -66.62)
CIE-LCHlch(49.57, 89.91, 312.18°)
OKLaboklab(59.18% 0.1214 -0.1895)
OKLCHoklch(59.18% 0.225 302.6)
XYZxyz(30.6848, 18.0609, 78.9445)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4DE9 #9CE94D
analogous
#4D4EE9 #9A4DE9 #E84DE9
triadic
#9A4DE9 #E99A4D #4DE99A
tetradic
#9A4DE9 #E94D4E #9CE94D #4DE9E8
square
#9A4DE9 #E94D4E #9CE94D #4DE9E8
split-complementary
#9A4DE9 #E9E84D #4EE94D
monochromatic
#5D15A7 #7B1BDD #9A4DE9 #B983F0 #D8BAF6

Accessibility & contrast

On white

4.55
#9A4DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9A4DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A4DE9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4DE9#FFFFFF#000000##000000
##9A4DE91.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#8A7195
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a4de9;
/* rgb */ color: rgb(154, 77, 233);
/* oklch */ color: oklch(59.2% 0.225 302.6);
Tailwind
colors: {
  custom: {
    50: '#bd84f1',
    500: '#9a4de9',
    950: '#000000',
  },
}
SCSS
$custom: #9a4de9;
$custom-light: #bd84f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4de9",
  "rgb": {
    "r": 154,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 269.615,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.225,
    "h": 302.6
  },
  "luminance": 0.18061
}

Semantic roles & 50–950 ramp

primary
#9A4DE9
secondary
#C9E6AB
accent
#DA0B74
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A4DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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