#9B3ACD#9B3ACD

#9B3ACD is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.2% C 0.220 H 311.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9B3ACD
RGBrgb(155, 58, 205)
HSLhsl(280, 60%, 52%)
HSVhsv(280, 72%, 80%)
CMYKcmyk(24.4%, 71.7%, 0%, 19.6%)
CIE-LABlab(44.81, 62.68, -58.36)
CIE-LCHlch(44.81, 85.64, 317.05°)
OKLaboklab(55.2% 0.1456 -0.165)
OKLCHoklch(55.2% 0.22 311.4)
XYZxyz(26.0480, 14.4031, 59.1537)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3ACD #6CCD3A
analogous
#523ACD #9B3ACD #CD3AB6
triadic
#9B3ACD #CD9B3A #3ACD9B
tetradic
#9B3ACD #CD523A #6CCD3A #3AB6CD
square
#9B3ACD #CD523A #6CCD3A #3AB6CD
split-complementary
#9B3ACD #B6CD3A #3ACD52
monochromatic
#541C70 #7829A1 #9B3ACD #B46BD9 #CD9CE6

Accessibility & contrast

On white

5.41
#9B3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9B3ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3ACD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3ACD#FFFFFF#000000##FFFFFF
##9B3ACD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#955B80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b3acd;
/* rgb */ color: rgb(155, 58, 205);
/* oklch */ color: oklch(55.2% 0.220 311.4);
Tailwind
colors: {
  custom: {
    50: '#bd79dd',
    500: '#9b3acd',
    950: '#000000',
  },
}
SCSS
$custom: #9b3acd;
$custom-light: #bd79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3acd",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 279.592,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.22009,
    "h": 311.4
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#9B3ACD
secondary
#A7D291
accent
#E3457B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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