#9A3DD4#9A3DD4

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

Color values

HEX#9A3DD4
RGBrgb(154, 61, 212)
HSLhsl(277, 64%, 54%)
HSVhsv(277, 71%, 83%)
CMYKcmyk(27.4%, 71.2%, 0%, 16.9%)
CIE-LABlab(45.58, 62.74, -61.14)
CIE-LCHlch(45.58, 87.61, 315.74°)
OKLaboklab(55.88% 0.1404 -0.1733)
OKLCHoklch(55.88% 0.223 309)
XYZxyz(26.8764, 14.9615, 63.7466)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DD4 #77D43D
analogous
#4E3DD4 #9A3DD4 #D43DC2
triadic
#9A3DD4 #D49A3D #3DD49A
tetradic
#9A3DD4 #D44E3D #77D43D #3DC2D4
square
#9A3DD4 #D44E3D #77D43D #3DC2D4
split-complementary
#9A3DD4 #C2D43D #3DD44E
monochromatic
#561B7B #7A26AD #9A3DD4 #B46FDF #CEA1EA

Accessibility & contrast

On white

5.26
#9A3DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9A3DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DD4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DD4#FFFFFF#000000##FFFFFF
##9A3DD41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#176DD1
Tritanopia (blue-blind)
#915F85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a3dd4;
/* rgb */ color: rgb(154, 61, 212);
/* oklch */ color: oklch(55.9% 0.223 309.0);
Tailwind
colors: {
  custom: {
    50: '#bd7ae2',
    500: '#9a3dd4',
    950: '#000000',
  },
}
SCSS
$custom: #9a3dd4;
$custom-light: #bd7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3dd4",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 276.954,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55875,
    "c": 0.223,
    "h": 309
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#9A3DD4
secondary
#AFD796
accent
#E74181
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9A3DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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