#9A4EBE#9A4EBE

#9A4EBE is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.5% C 0.178 H 313.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9A4EBE
RGBrgb(154, 78, 190)
HSLhsl(281, 46%, 53%)
HSVhsv(281, 59%, 75%)
CMYKcmyk(18.9%, 58.9%, 0%, 25.5%)
CIE-LABlab(47.02, 50.17, -46.12)
CIE-LCHlch(47.02, 68.14, 317.41°)
OKLaboklab(56.47% 0.1225 -0.1293)
OKLCHoklch(56.47% 0.178 313.5)
XYZxyz(25.3435, 16.0372, 50.4657)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4EBE #72BE4E
analogous
#624EBE #9A4EBE #BE4EAA
triadic
#9A4EBE #BE9A4E #4EBE9A
tetradic
#9A4EBE #BE624E #72BE4E #4EAABE
square
#9A4EBE #BE624E #72BE4E #4EAABE
split-complementary
#9A4EBE #AABE4E #4EBE62
monochromatic
#55276A #783897 #9A4EBE #B47BCE #CDA8DF

Accessibility & contrast

On white

4.99
#9A4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9A4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4EBE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4EBE#FFFFFF#000000##FFFFFF
##9A4EBE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#97627F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a4ebe;
/* rgb */ color: rgb(154, 78, 190);
/* oklch */ color: oklch(56.5% 0.178 313.5);
Tailwind
colors: {
  custom: {
    50: '#bb83d2',
    500: '#9a4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ebe;
$custom-light: #bb83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ebe",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 280.714,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5647,
    "c": 0.17813,
    "h": 313.5
  },
  "luminance": 0.16037
}

Semantic roles & 50–950 ramp

primary
#9A4EBE
secondary
#ABCC9C
accent
#D6527C
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9A4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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