#9B4AEB#9B4AEB

#9B4AEB is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.1% C 0.231 H 302.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9B4AEB
RGBrgb(155, 74, 235)
HSLhsl(270, 80%, 61%)
HSVhsv(270, 69%, 92%)
CMYKcmyk(34%, 68.5%, 0%, 7.8%)
CIE-LABlab(49.33, 62.42, -68.13)
CIE-LCHlch(49.33, 92.40, 312.50°)
OKLaboklab(59.08% 0.1255 -0.1938)
OKLCHoklch(59.08% 0.231 302.9)
XYZxyz(30.9582, 17.8643, 80.3983)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4AEB #9AEB4A
analogous
#4A4AEB #9B4AEB #EB4AEB
triadic
#9B4AEB #EB9B4A #4AEB9B
tetradic
#9B4AEB #EB4A4A #9AEB4A #4AEBEB
square
#9B4AEB #EB4A4A #9AEB4A #4AEBEB
split-complementary
#9B4AEB #EBEB4A #4AEB4A
monochromatic
#5E13A8 #7D19DF #9B4AEB #B981F1 #D8B8F7

Accessibility & contrast

On white

4.59
#9B4AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9B4AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4AEB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4AEB#FFFFFF#000000##FFFFFF
##9B4AEB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#8B7095
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b4aeb;
/* rgb */ color: rgb(155, 74, 235);
/* oklch */ color: oklch(59.1% 0.231 302.9);
Tailwind
colors: {
  custom: {
    50: '#be82f2',
    500: '#9b4aeb',
    950: '#000000',
  },
}
SCSS
$custom: #9b4aeb;
$custom-light: #be82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4aeb",
  "rgb": {
    "r": 155,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 270.186,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59079,
    "c": 0.23092,
    "h": 302.9
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#9B4AEB
secondary
#C8E7AA
accent
#DC0972
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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