#9A3BCD#9A3BCD

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

Color values

HEX#9A3BCD
RGBrgb(154, 59, 205)
HSLhsl(279, 59%, 52%)
HSVhsv(279, 71%, 80%)
CMYKcmyk(24.9%, 71.2%, 0%, 19.6%)
CIE-LABlab(44.81, 62.08, -58.36)
CIE-LCHlch(44.81, 85.20, 316.77°)
OKLaboklab(55.18% 0.1433 -0.1651)
OKLCHoklch(55.18% 0.219 311)
XYZxyz(25.9077, 14.4064, 59.1617)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BCD #6ECD3B
analogous
#513BCD #9A3BCD #CD3BB7
triadic
#9A3BCD #CD9A3B #3BCD9A
tetradic
#9A3BCD #CD513B #6ECD3B #3BB7CD
square
#9A3BCD #CD513B #6ECD3B #3BB7CD
split-complementary
#9A3BCD #B7CD3B #3BCD51
monochromatic
#531D71 #7829A2 #9A3BCD #B36CD9 #CC9DE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A3BCD#FFFFFF#000000##FFFFFF
##9A3BCD1.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)
#0066D1
Deuteranopia (green-blind)
#236CCA
Tritanopia (blue-blind)
#935B80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a3bcd;
/* rgb */ color: rgb(154, 59, 205);
/* oklch */ color: oklch(55.2% 0.219 311.0);
Tailwind
colors: {
  custom: {
    50: '#bc79dd',
    500: '#9a3bcd',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bcd;
$custom-light: #bc79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bcd",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 279.041,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55175,
    "c": 0.21862,
    "h": 311
  },
  "luminance": 0.14406
}

Semantic roles & 50–950 ramp

primary
#9A3BCD
secondary
#A8D292
accent
#E3457C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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