#9A3DD3#9A3DD3

#9A3DD3 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.222 H 309.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9A3DD3
RGBrgb(154, 61, 211)
HSLhsl(277, 63%, 53%)
HSVhsv(277, 71%, 83%)
CMYKcmyk(27%, 71.1%, 0%, 17.3%)
CIE-LABlab(45.51, 62.53, -60.68)
CIE-LCHlch(45.51, 87.13, 315.86°)
OKLaboklab(55.8% 0.1405 -0.1719)
OKLCHoklch(55.8% 0.222 309.3)
XYZxyz(26.7507, 14.9112, 63.0843)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DD3 #76D33D
analogous
#4F3DD3 #9A3DD3 #D33DC1
triadic
#9A3DD3 #D39A3D #3DD39A
tetradic
#9A3DD3 #D34F3D #76D33D #3DC1D3
square
#9A3DD3 #D34F3D #76D33D #3DC1D3
split-complementary
#9A3DD3 #C1D33D #3DD34F
monochromatic
#561C7A #7927AC #9A3DD3 #B46FDE #CEA1EA

Accessibility & contrast

On white

5.27
#9A3DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9A3DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DD3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DD3#FFFFFF#000000##FFFFFF
##9A3DD31.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#1A6DD0
Tritanopia (blue-blind)
#925F84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a3dd3;
/* rgb */ color: rgb(154, 61, 211);
/* oklch */ color: oklch(55.8% 0.222 309.3);
Tailwind
colors: {
  custom: {
    50: '#bd7ae1',
    500: '#9a3dd3',
    950: '#000000',
  },
}
SCSS
$custom: #9a3dd3;
$custom-light: #bd7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3dd3",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 277.2,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.22204,
    "h": 309.3
  },
  "luminance": 0.14911
}

Semantic roles & 50–950 ramp

primary
#9A3DD3
secondary
#AED696
accent
#E64280
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9A3DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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