#9A3DD1#9A3DD1

#9A3DD1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.7% C 0.220 H 309.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9A3DD1
RGBrgb(154, 61, 209)
HSLhsl(278, 62%, 53%)
HSVhsv(278, 71%, 82%)
CMYKcmyk(26.3%, 70.8%, 0%, 18%)
CIE-LABlab(45.37, 62.10, -59.75)
CIE-LCHlch(45.37, 86.18, 316.11°)
OKLaboklab(55.66% 0.1408 -0.1692)
OKLCHoklch(55.66% 0.22 309.8)
XYZxyz(26.5015, 14.8115, 61.7721)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DD1 #74D13D
analogous
#503DD1 #9A3DD1 #D13DBE
triadic
#9A3DD1 #D19A3D #3DD19A
tetradic
#9A3DD1 #D1503D #74D13D #3DBED1
square
#9A3DD1 #D1503D #74D13D #3DBED1
split-complementary
#9A3DD1 #BED13D #3DD150
monochromatic
#551C77 #7928A9 #9A3DD1 #B46EDD #CEA0E8

Accessibility & contrast

On white

5.30
#9A3DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9A3DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DD1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DD1#FFFFFF#000000##FFFFFF
##9A3DD11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a3dd1;
/* rgb */ color: rgb(154, 61, 209);
/* oklch */ color: oklch(55.7% 0.220 309.8);
Tailwind
colors: {
  custom: {
    50: '#bc7ae0',
    500: '#9a3dd1',
    950: '#000000',
  },
}
SCSS
$custom: #9a3dd1;
$custom-light: #bc7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3dd1",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 277.703,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.22012,
    "h": 309.8
  },
  "luminance": 0.14811
}

Semantic roles & 50–950 ramp

primary
#9A3DD1
secondary
#ADD595
accent
#E5437F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9A3DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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