#9A3CD2#9A3CD2

#9A3CD2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.222 H 309.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9A3CD2
RGBrgb(154, 60, 210)
HSLhsl(278, 63%, 53%)
HSVhsv(278, 71%, 82%)
CMYKcmyk(26.7%, 71.4%, 0%, 17.6%)
CIE-LABlab(45.30, 62.73, -60.45)
CIE-LCHlch(45.30, 87.11, 316.06°)
OKLaboklab(55.63% 0.1417 -0.1712)
OKLCHoklch(55.63% 0.222 309.6)
XYZxyz(26.5728, 14.7554, 62.4085)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CD2 #74D23C
analogous
#4F3CD2 #9A3CD2 #D23CBF
triadic
#9A3CD2 #D29A3C #3CD29A
tetradic
#9A3CD2 #D24F3C #74D23C #3CBFD2
square
#9A3CD2 #D24F3C #74D23C #3CBFD2
split-complementary
#9A3CD2 #BFD23C #3CD24F
monochromatic
#551C78 #7927AA #9A3CD2 #B46EDD #CE9FE9

Accessibility & contrast

On white

5.32
#9A3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9A3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3CD2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3CD2#FFFFFF#000000##FFFFFF
##9A3CD21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a3cd2;
/* rgb */ color: rgb(154, 60, 210);
/* oklch */ color: oklch(55.6% 0.222 309.6);
Tailwind
colors: {
  custom: {
    50: '#bd7ae1',
    500: '#9a3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3cd2;
$custom-light: #bd7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3cd2",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 277.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5563,
    "c": 0.22223,
    "h": 309.6
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#9A3CD2
secondary
#ADD594
accent
#E6427F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9A3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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