#9A3BD1#9A3BD1

#9A3BD1 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.5% C 0.222 H 309.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9A3BD1
RGBrgb(154, 59, 209)
HSLhsl(278, 62%, 53%)
HSVhsv(278, 72%, 82%)
CMYKcmyk(26.3%, 71.8%, 0%, 18%)
CIE-LABlab(45.08, 62.92, -60.22)
CIE-LCHlch(45.08, 87.10, 316.26°)
OKLaboklab(55.46% 0.1428 -0.1705)
OKLCHoklch(55.46% 0.222 309.9)
XYZxyz(26.3967, 14.6020, 61.7371)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BD1 #72D13B
analogous
#4F3BD1 #9A3BD1 #D13BBD
triadic
#9A3BD1 #D19A3B #3BD19A
tetradic
#9A3BD1 #D14F3B #72D13B #3BBDD1
square
#9A3BD1 #D14F3B #72D13B #3BBDD1
split-complementary
#9A3BD1 #BDD13B #3BD14F
monochromatic
#551C76 #7827A7 #9A3BD1 #B46DDD #CD9EE8

Accessibility & contrast

On white

5.36
#9A3BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9A3BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BD1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BD1#FFFFFF#000000##FFFFFF
##9A3BD11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#1B6CCE
Tritanopia (blue-blind)
#925D83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a3bd1;
/* rgb */ color: rgb(154, 59, 209);
/* oklch */ color: oklch(55.5% 0.222 309.9);
Tailwind
colors: {
  custom: {
    50: '#bd79e0',
    500: '#9a3bd1',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bd1;
$custom-light: #bd79e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bd1",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 209
  },
  "hsl": {
    "h": 278,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55456,
    "c": 0.22243,
    "h": 309.9
  },
  "luminance": 0.14601
}

Semantic roles & 50–950 ramp

primary
#9A3BD1
secondary
#ABD493
accent
#E5437E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9A3BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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