#9B4AE1#9B4AE1

#9B4AE1 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.4% C 0.221 H 305.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9B4AE1
RGBrgb(155, 74, 225)
HSLhsl(272, 72%, 59%)
HSVhsv(272, 67%, 88%)
CMYKcmyk(31.1%, 67.1%, 0%, 11.8%)
CIE-LABlab(48.64, 60.12, -63.60)
CIE-LCHlch(48.64, 87.52, 313.39°)
OKLaboklab(58.37% 0.1268 -0.1805)
OKLCHoklch(58.37% 0.221 305.1)
XYZxyz(29.5539, 17.3025, 73.0023)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4AE1 #90E14A
analogous
#4F4AE1 #9B4AE1 #E14ADC
triadic
#9B4AE1 #E19B4A #4AE19B
tetradic
#9B4AE1 #E14F4A #90E14A #4ADCE1
square
#9B4AE1 #E14F4A #90E14A #4ADCE1
split-complementary
#9B4AE1 #DCE14A #4AE14F
monochromatic
#5D1997 #7D22CC #9B4AE1 #B87EEA #D5B3F2

Accessibility & contrast

On white

4.71
#9B4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9B4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4AE1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4AE1#FFFFFF#000000##FFFFFF
##9B4AE11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#1574DE
Tritanopia (blue-blind)
#8E6C90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4ae1;
/* rgb */ color: rgb(155, 74, 225);
/* oklch */ color: oklch(58.4% 0.221 305.1);
Tailwind
colors: {
  custom: {
    50: '#bd82eb',
    500: '#9b4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ae1;
$custom-light: #bd82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ae1",
  "rgb": {
    "r": 155,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 272.185,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.2206,
    "h": 305.1
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#9B4AE1
secondary
#C1E1A6
accent
#EE398D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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