#9B3ACA#9B3ACA

#9B3ACA is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.217 H 312.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9B3ACA
RGBrgb(155, 58, 202)
HSLhsl(280, 58%, 51%)
HSVhsv(280, 71%, 79%)
CMYKcmyk(23.3%, 71.3%, 0%, 20.8%)
CIE-LABlab(44.60, 62.06, -56.95)
CIE-LCHlch(44.60, 84.23, 317.46°)
OKLaboklab(54.99% 0.146 -0.1609)
OKLCHoklch(54.99% 0.217 312.2)
XYZxyz(25.6894, 14.2597, 57.2648)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3ACA #69CA3A
analogous
#533ACA #9B3ACA #CA3AB1
triadic
#9B3ACA #CA9B3A #3ACA9B
tetradic
#9B3ACA #CA533A #69CA3A #3AB1CA
square
#9B3ACA #CA533A #69CA3A #3AB1CA
split-complementary
#9B3ACA #B1CA3A #3ACA53
monochromatic
#531D6C #772A9D #9B3ACA #B36AD7 #CC9AE4

Accessibility & contrast

On white

5.45
#9B3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9B3ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3ACA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3ACA#FFFFFF#000000##FFFFFF
##9B3ACA1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#296BC7
Tritanopia (blue-blind)
#95597E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b3aca;
/* rgb */ color: rgb(155, 58, 202);
/* oklch */ color: oklch(55.0% 0.217 312.2);
Tailwind
colors: {
  custom: {
    50: '#bd79db',
    500: '#9b3aca',
    950: '#000000',
  },
}
SCSS
$custom: #9b3aca;
$custom-light: #bd79db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3aca",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 280.417,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.21727,
    "h": 312.2
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#9B3ACA
secondary
#A5D090
accent
#E14779
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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