#9B4ADB#9B4ADB

#9B4ADB is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.214 H 306.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9B4ADB
RGBrgb(155, 74, 219)
HSLhsl(274, 67%, 57%)
HSVhsv(274, 66%, 86%)
CMYKcmyk(29.2%, 66.2%, 0%, 14.1%)
CIE-LABlab(48.24, 58.76, -60.84)
CIE-LCHlch(48.24, 84.58, 314.00°)
OKLaboklab(57.95% 0.1274 -0.1724)
OKLCHoklch(57.95% 0.214 306.5)
XYZxyz(28.7498, 16.9809, 68.7672)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4ADB #8ADB4A
analogous
#524ADB #9B4ADB #DB4AD3
triadic
#9B4ADB #DB9B4A #4ADB9B
tetradic
#9B4ADB #DB524A #8ADB4A #4AD3DB
square
#9B4ADB #DB524A #8ADB4A #4AD3DB
split-complementary
#9B4ADB #D3DB4A #4ADB52
monochromatic
#5C1C8E #7D26C1 #9B4ADB #B77DE5 #D3B0EF

Accessibility & contrast

On white

4.78
#9B4ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9B4ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4ADB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4ADB#FFFFFF#000000##FFFFFF
##9B4ADB1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#2473D8
Tritanopia (blue-blind)
#90698C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b4adb;
/* rgb */ color: rgb(155, 74, 219);
/* oklch */ color: oklch(57.9% 0.214 306.5);
Tailwind
colors: {
  custom: {
    50: '#bd82e7',
    500: '#9b4adb',
    950: '#000000',
  },
}
SCSS
$custom: #9b4adb;
$custom-light: #bd82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4adb",
  "rgb": {
    "r": 155,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 273.517,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57949,
    "c": 0.2144,
    "h": 306.5
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#9B4ADB
secondary
#BDDEA3
accent
#EA3E8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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