#9A4DE3#9A4DE3

#9A4DE3 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.8% C 0.219 H 303.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9A4DE3
RGBrgb(154, 77, 227)
HSLhsl(271, 73%, 60%)
HSVhsv(271, 66%, 89%)
CMYKcmyk(32.2%, 66.1%, 0%, 11%)
CIE-LABlab(49.16, 58.98, -63.90)
CIE-LCHlch(49.16, 86.95, 312.71°)
OKLaboklab(58.76% 0.1221 -0.1815)
OKLCHoklch(58.76% 0.219 303.9)
XYZxyz(29.8423, 17.7239, 74.5070)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4DE3 #96E34D
analogous
#4F4DE3 #9A4DE3 #E34DE1
triadic
#9A4DE3 #E39A4D #4DE39A
tetradic
#9A4DE3 #E34F4D #96E34D #4DE1E3
square
#9A4DE3 #E34F4D #96E34D #4DE1E3
split-complementary
#9A4DE3 #E1E34D #4DE34F
monochromatic
#5D199D #7C21D2 #9A4DE3 #B882EB #D6B7F4

Accessibility & contrast

On white

4.62
#9A4DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9A4DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4DE3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4DE3#FFFFFF#000000##FFFFFF
##9A4DE31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#1575E0
Tritanopia (blue-blind)
#8C6E92
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a4de3;
/* rgb */ color: rgb(154, 77, 227);
/* oklch */ color: oklch(58.8% 0.219 303.9);
Tailwind
colors: {
  custom: {
    50: '#bd84ed',
    500: '#9a4de3',
    950: '#000000',
  },
}
SCSS
$custom: #9a4de3;
$custom-light: #bd84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4de3",
  "rgb": {
    "r": 154,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 270.8,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.21869,
    "h": 303.9
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#9A4DE3
secondary
#C5E3A9
accent
#F03891
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A4DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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