#9A3ED3#9A3ED3

#9A3ED3 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.221 H 309.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9A3ED3
RGBrgb(154, 62, 211)
HSLhsl(277, 63%, 54%)
HSVhsv(277, 71%, 83%)
CMYKcmyk(27%, 70.6%, 0%, 17.3%)
CIE-LABlab(45.66, 62.11, -60.44)
CIE-LCHlch(45.66, 86.66, 315.78°)
OKLaboklab(55.91% 0.1396 -0.1712)
OKLCHoklch(55.91% 0.221 309.2)
XYZxyz(26.8046, 15.0189, 63.1023)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ED3 #77D33E
analogous
#4F3ED3 #9A3ED3 #D33EC1
triadic
#9A3ED3 #D39A3E #3ED39A
tetradic
#9A3ED3 #D34F3E #77D33E #3EC1D3
square
#9A3ED3 #D34F3E #77D33E #3EC1D3
split-complementary
#9A3ED3 #C1D33E #3ED34F
monochromatic
#561C7B #7A27AC #9A3ED3 #B470DE #CEA2EA

Accessibility & contrast

On white

5.25
#9A3ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9A3ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3ED3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3ED3#FFFFFF#000000##FFFFFF
##9A3ED31.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a3ed3;
/* rgb */ color: rgb(154, 62, 211);
/* oklch */ color: oklch(55.9% 0.221 309.2);
Tailwind
colors: {
  custom: {
    50: '#bc7be1',
    500: '#9a3ed3',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ed3;
$custom-light: #bc7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ed3",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 277.047,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55909,
    "c": 0.22087,
    "h": 309.2
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#9A3ED3
secondary
#AFD696
accent
#E64281
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9A3ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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