#9A3DD9#9A3DD9

#9A3DD9 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.228 H 307.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9A3DD9
RGBrgb(154, 61, 217)
HSLhsl(276, 67%, 55%)
HSVhsv(276, 72%, 85%)
CMYKcmyk(29%, 71.9%, 0%, 14.9%)
CIE-LABlab(45.93, 63.82, -63.44)
CIE-LCHlch(45.93, 89.99, 315.18°)
OKLaboklab(56.23% 0.1396 -0.18)
OKLCHoklch(56.23% 0.228 307.8)
XYZxyz(27.5169, 15.2177, 67.1199)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DD9 #7CD93D
analogous
#4C3DD9 #9A3DD9 #D93DCA
triadic
#9A3DD9 #D99A3D #3DD99A
tetradic
#9A3DD9 #D94C3D #7CD93D #3DCAD9
square
#9A3DD9 #D94C3D #7CD93D #3DCAD9
split-complementary
#9A3DD9 #CAD93D #3DD94C
monochromatic
#581982 #7A24B5 #9A3DD9 #B570E3 #CFA3ED

Accessibility & contrast

On white

5.19
#9A3DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9A3DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DD9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DD9#FFFFFF#000000##FFFFFF
##9A3DD91.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#026ED6
Tritanopia (blue-blind)
#906188
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a3dd9;
/* rgb */ color: rgb(154, 61, 217);
/* oklch */ color: oklch(56.2% 0.228 307.8);
Tailwind
colors: {
  custom: {
    50: '#bd7be6',
    500: '#9a3dd9',
    950: '#000000',
  },
}
SCSS
$custom: #9a3dd9;
$custom-light: #bd7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3dd9",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 275.769,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56233,
    "c": 0.22782,
    "h": 307.8
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#9A3DD9
secondary
#B3DA98
accent
#EA3E83
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A3DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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