#9A4BDD#9A4BDD

#9A4BDD is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.215 H 305.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9A4BDD
RGBrgb(154, 75, 221)
HSLhsl(272, 68%, 58%)
HSVhsv(272, 66%, 87%)
CMYKcmyk(30.3%, 66.1%, 0%, 13.3%)
CIE-LABlab(48.41, 58.54, -61.70)
CIE-LCHlch(48.41, 85.05, 313.49°)
OKLaboklab(58.09% 0.1248 -0.175)
OKLCHoklch(58.09% 0.215 305.5)
XYZxyz(28.8908, 17.1228, 70.1756)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BDD #8EDD4B
analogous
#514BDD #9A4BDD #DD4BD7
triadic
#9A4BDD #DD9A4B #4BDD9A
tetradic
#9A4BDD #DD514B #8EDD4B #4BD7DD
square
#9A4BDD #DD514B #8EDD4B #4BD7DD
split-complementary
#9A4BDD #D7DD4B #4BDD51
monochromatic
#5C1C92 #7C25C5 #9A4BDD #B77EE7 #D4B2F0

Accessibility & contrast

On white

4.75
#9A4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9A4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4BDD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BDD#FFFFFF#000000##FFFFFF
##9A4BDD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#2073DA
Tritanopia (blue-blind)
#8E6B8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9a4bdd;
/* rgb */ color: rgb(154, 75, 221);
/* oklch */ color: oklch(58.1% 0.215 305.5);
Tailwind
colors: {
  custom: {
    50: '#bc82e8',
    500: '#9a4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bdd;
$custom-light: #bc82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bdd",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 272.466,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58092,
    "c": 0.21494,
    "h": 305.5
  },
  "luminance": 0.17123
}

Semantic roles & 50–950 ramp

primary
#9A4BDD
secondary
#C0DFA5
accent
#EB3D8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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