#9A3DD7#9A3DD7

#9A3DD7 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.1% C 0.226 H 308.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9A3DD7
RGBrgb(154, 61, 215)
HSLhsl(276, 66%, 54%)
HSVhsv(276, 72%, 84%)
CMYKcmyk(28.4%, 71.6%, 0%, 15.7%)
CIE-LABlab(45.79, 63.39, -62.52)
CIE-LCHlch(45.79, 89.04, 315.40°)
OKLaboklab(56.09% 0.14 -0.1773)
OKLCHoklch(56.09% 0.226 308.3)
XYZxyz(27.2584, 15.1142, 65.7582)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DD7 #7AD73D
analogous
#4D3DD7 #9A3DD7 #D73DC7
triadic
#9A3DD7 #D79A3D #3DD79A
tetradic
#9A3DD7 #D74D3D #7AD73D #3DC7D7
square
#9A3DD7 #D74D3D #7AD73D #3DC7D7
split-complementary
#9A3DD7 #C7D73D #3DD74D
monochromatic
#571A7F #7A25B2 #9A3DD7 #B470E1 #CFA2EC

Accessibility & contrast

On white

5.22
#9A3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9A3DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DD7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DD7#FFFFFF#000000##FFFFFF
##9A3DD71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0D6DD4
Tritanopia (blue-blind)
#906186
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a3dd7;
/* rgb */ color: rgb(154, 61, 215);
/* oklch */ color: oklch(56.1% 0.226 308.3);
Tailwind
colors: {
  custom: {
    50: '#bd7be4',
    500: '#9a3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #9a3dd7;
$custom-light: #bd7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3dd7",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 276.234,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.22589,
    "h": 308.3
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#9A3DD7
secondary
#B1D997
accent
#E93F82
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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