#9A4BBD#9A4BBD

#9A4BBD is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.0% C 0.182 H 314.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9A4BBD
RGBrgb(154, 75, 189)
HSLhsl(282, 46%, 52%)
HSVhsv(282, 60%, 74%)
CMYKcmyk(18.5%, 60.3%, 0%, 25.9%)
CIE-LABlab(46.41, 51.44, -46.51)
CIE-LCHlch(46.41, 69.35, 317.89°)
OKLaboklab(56.01% 0.1263 -0.1304)
OKLCHoklch(56.01% 0.182 314.1)
XYZxyz(25.0263, 15.5770, 49.8226)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BBD #6EBD4B
analogous
#614BBD #9A4BBD #BD4BA7
triadic
#9A4BBD #BD9A4B #4BBD9A
tetradic
#9A4BBD #BD614B #6EBD4B #4BA7BD
square
#9A4BBD #BD614B #6EBD4B #4BA7BD
split-complementary
#9A4BBD #A7BD4B #4BBD61
monochromatic
#532668 #783694 #9A4BBD #B378CD #CCA5DE

Accessibility & contrast

On white

5.10
#9A4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9A4BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4BBD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BBD#FFFFFF#000000##FFFFFF
##9A4BBD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#975F7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a4bbd;
/* rgb */ color: rgb(154, 75, 189);
/* oklch */ color: oklch(56.0% 0.182 314.1);
Tailwind
colors: {
  custom: {
    50: '#bb81d1',
    500: '#9a4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bbd;
$custom-light: #bb81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bbd",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 281.579,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.18155,
    "h": 314.1
  },
  "luminance": 0.15576
}

Semantic roles & 50–950 ramp

primary
#9A4BBD
secondary
#A8CB99
accent
#D6527A
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9A4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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