#9A3DC7#9A3DC7

#9A3DC7 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.210 H 312.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9A3DC7
RGBrgb(154, 61, 199)
HSLhsl(280, 55%, 51%)
HSVhsv(280, 69%, 78%)
CMYKcmyk(22.6%, 69.3%, 0%, 22%)
CIE-LABlab(44.70, 59.99, -55.06)
CIE-LCHlch(44.70, 81.42, 317.45°)
OKLaboklab(54.97% 0.142 -0.1554)
OKLCHoklch(54.97% 0.211 312.4)
XYZxyz(25.3021, 14.3317, 55.4552)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DC7 #6AC73D
analogous
#553DC7 #9A3DC7 #C73DAF
triadic
#9A3DC7 #C79A3D #3DC79A
tetradic
#9A3DC7 #C7553D #6AC73D #3DAFC7
square
#9A3DC7 #C7553D #6AC73D #3DAFC7
split-complementary
#9A3DC7 #AFC73D #3DC755
monochromatic
#521F6B #762D9A #9A3DC7 #B36CD5 #CB9CE2

Accessibility & contrast

On white

5.43
#9A3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9A3DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DC7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DC7#FFFFFF#000000##FFFFFF
##9A3DC71.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#2F6CC4
Tritanopia (blue-blind)
#955A7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a3dc7;
/* rgb */ color: rgb(154, 61, 199);
/* oklch */ color: oklch(55.0% 0.210 312.4);
Tailwind
colors: {
  custom: {
    50: '#bc7ad9',
    500: '#9a3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #9a3dc7;
$custom-light: #bc7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3dc7",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 280.435,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54973,
    "c": 0.2105,
    "h": 312.4
  },
  "luminance": 0.14331
}

Semantic roles & 50–950 ramp

primary
#9A3DC7
secondary
#A5CE91
accent
#DF497A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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