#9B4AE6#9B4AE6

#9B4AE6 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.7% C 0.226 H 304.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9B4AE6
RGBrgb(155, 74, 230)
HSLhsl(271, 76%, 60%)
HSVhsv(271, 68%, 90%)
CMYKcmyk(32.6%, 67.8%, 0%, 9.8%)
CIE-LABlab(48.98, 61.27, -65.88)
CIE-LCHlch(48.98, 89.96, 312.92°)
OKLaboklab(58.72% 0.1262 -0.1872)
OKLCHoklch(58.72% 0.226 304)
XYZxyz(30.2460, 17.5794, 76.6473)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4AE6 #95E64A
analogous
#4D4AE6 #9B4AE6 #E64AE3
triadic
#9B4AE6 #E69B4A #4AE69B
tetradic
#9B4AE6 #E64D4A #95E64A #4AE3E6
square
#9B4AE6 #E64D4A #95E64A #4AE3E6
split-complementary
#9B4AE6 #E3E64A #4AE64D
monochromatic
#5D16A0 #7D1DD5 #9B4AE6 #B980ED #D6B6F5

Accessibility & contrast

On white

4.65
#9B4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9B4AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4AE6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4AE6#FFFFFF#000000##FFFFFF
##9B4AE61.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#8D6E92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b4ae6;
/* rgb */ color: rgb(155, 74, 230);
/* oklch */ color: oklch(58.7% 0.226 304.0);
Tailwind
colors: {
  custom: {
    50: '#be82ef',
    500: '#9b4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ae6;
$custom-light: #be82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ae6",
  "rgb": {
    "r": 155,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 271.154,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58719,
    "c": 0.22576,
    "h": 304
  },
  "luminance": 0.17579
}

Semantic roles & 50–950 ramp

primary
#9B4AE6
secondary
#C5E4A8
accent
#F23590
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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