#9A3BD2#9A3BD2

#9A3BD2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.5% C 0.223 H 309.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9A3BD2
RGBrgb(154, 59, 210)
HSLhsl(278, 63%, 53%)
HSVhsv(278, 72%, 82%)
CMYKcmyk(26.7%, 71.9%, 0%, 17.6%)
CIE-LABlab(45.15, 63.14, -60.68)
CIE-LCHlch(45.15, 87.57, 316.14°)
OKLaboklab(55.53% 0.1426 -0.1719)
OKLCHoklch(55.53% 0.223 309.7)
XYZxyz(26.5209, 14.6516, 62.3912)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BD2 #73D23B
analogous
#4E3BD2 #9A3BD2 #D23BBF
triadic
#9A3BD2 #D29A3B #3BD29A
tetradic
#9A3BD2 #D24E3B #73D23B #3BBFD2
square
#9A3BD2 #D24E3B #73D23B #3BBFD2
split-complementary
#9A3BD2 #BFD23B #3BD24E
monochromatic
#551B77 #7927A9 #9A3BD2 #B46DDD #CD9FE9

Accessibility & contrast

On white

5.34
#9A3BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9A3BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BD2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BD2#FFFFFF#000000##FFFFFF
##9A3BD21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#186CCF
Tritanopia (blue-blind)
#925D83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a3bd2;
/* rgb */ color: rgb(154, 59, 210);
/* oklch */ color: oklch(55.5% 0.223 309.7);
Tailwind
colors: {
  custom: {
    50: '#bd79e1',
    500: '#9a3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bd2;
$custom-light: #bd79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bd2",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 277.748,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55527,
    "c": 0.22337,
    "h": 309.7
  },
  "luminance": 0.14651
}

Semantic roles & 50–950 ramp

primary
#9A3BD2
secondary
#ACD594
accent
#E6427F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9A3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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