#9A4BDA#9A4BDA

#9A4BDA is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.212 H 306.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9A4BDA
RGBrgb(154, 75, 218)
HSLhsl(273, 66%, 57%)
HSVhsv(273, 66%, 85%)
CMYKcmyk(29.4%, 65.6%, 0%, 14.5%)
CIE-LABlab(48.22, 57.85, -60.31)
CIE-LCHlch(48.22, 83.57, 313.81°)
OKLaboklab(57.89% 0.1251 -0.1709)
OKLCHoklch(57.89% 0.212 306.2)
XYZxyz(28.4947, 16.9644, 68.0894)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BDA #8BDA4B
analogous
#534BDA #9A4BDA #DA4BD3
triadic
#9A4BDA #DA9A4B #4BDA9A
tetradic
#9A4BDA #DA534B #8BDA4B #4BD3DA
square
#9A4BDA #DA534B #8BDA4B #4BD3DA
split-complementary
#9A4BDA #D3DA4B #4BDA53
monochromatic
#5B1D8E #7C28C0 #9A4BDA #B67EE4 #D3B1EF

Accessibility & contrast

On white

4.78
#9A4BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9A4BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4BDA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BDA#FFFFFF#000000##FFFFFF
##9A4BDA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#2673D7
Tritanopia (blue-blind)
#8F6A8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4bda;
/* rgb */ color: rgb(154, 75, 218);
/* oklch */ color: oklch(57.9% 0.212 306.2);
Tailwind
colors: {
  custom: {
    50: '#bc82e6',
    500: '#9a4bda',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bda;
$custom-light: #bc82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bda",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 273.147,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.21181,
    "h": 306.2
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#9A4BDA
secondary
#BDDDA4
accent
#E93F8B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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