#9A4BD9#9A4BD9

#9A4BD9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.211 H 306.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9A4BD9
RGBrgb(154, 75, 217)
HSLhsl(273, 65%, 57%)
HSVhsv(273, 65%, 85%)
CMYKcmyk(29%, 65.4%, 0%, 14.9%)
CIE-LABlab(48.15, 57.62, -59.85)
CIE-LCHlch(48.15, 83.08, 313.91°)
OKLaboklab(57.82% 0.1252 -0.1695)
OKLCHoklch(57.82% 0.211 306.4)
XYZxyz(28.3642, 16.9122, 67.4023)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BD9 #8AD94B
analogous
#534BD9 #9A4BD9 #D94BD1
triadic
#9A4BD9 #D99A4B #4BD99A
tetradic
#9A4BD9 #D9534B #8AD94B #4BD1D9
square
#9A4BD9 #D9534B #8AD94B #4BD1D9
split-complementary
#9A4BD9 #D1D94B #4BD953
monochromatic
#5B1E8C #7C28BF #9A4BD9 #B67EE4 #D3B0EE

Accessibility & contrast

On white

4.79
#9A4BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9A4BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4BD9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BD9#FFFFFF#000000##FFFFFF
##9A4BD91.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#2873D6
Tritanopia (blue-blind)
#8F698C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4bd9;
/* rgb */ color: rgb(154, 75, 217);
/* oklch */ color: oklch(57.8% 0.211 306.4);
Tailwind
colors: {
  custom: {
    50: '#bc82e5',
    500: '#9a4bd9',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bd9;
$custom-light: #bc82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bd9",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 273.38,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57817,
    "c": 0.21077,
    "h": 306.4
  },
  "luminance": 0.16912
}

Semantic roles & 50–950 ramp

primary
#9A4BD9
secondary
#BDDDA3
accent
#E8408A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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