#9A3BD5#9A3BD5

#9A3BD5 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.7% C 0.226 H 308.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9A3BD5
RGBrgb(154, 59, 213)
HSLhsl(277, 65%, 53%)
HSVhsv(277, 72%, 84%)
CMYKcmyk(27.7%, 72.3%, 0%, 16.5%)
CIE-LABlab(45.36, 63.78, -62.07)
CIE-LCHlch(45.36, 88.99, 315.78°)
OKLaboklab(55.74% 0.1422 -0.176)
OKLCHoklch(55.74% 0.226 308.9)
XYZxyz(26.8982, 14.8025, 64.3781)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BD5 #76D53B
analogous
#4D3BD5 #9A3BD5 #D53BC3
triadic
#9A3BD5 #D59A3B #3BD59A
tetradic
#9A3BD5 #D54D3B #76D53B #3BC3D5
square
#9A3BD5 #D54D3B #76D53B #3BC3D5
split-complementary
#9A3BD5 #C3D53B #3BD54D
monochromatic
#561A7B #7925AE #9A3BD5 #B46DE0 #CEA0EB

Accessibility & contrast

On white

5.30
#9A3BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9A3BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BD5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BD5#FFFFFF#000000##FFFFFF
##9A3BD51.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0F6DD2
Tritanopia (blue-blind)
#915F85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a3bd5;
/* rgb */ color: rgb(154, 59, 213);
/* oklch */ color: oklch(55.7% 0.226 308.9);
Tailwind
colors: {
  custom: {
    50: '#bd79e3',
    500: '#9a3bd5',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bd5;
$custom-light: #bd79e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bd5",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 277.013,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55742,
    "c": 0.22622,
    "h": 308.9
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#9A3BD5
secondary
#AED795
accent
#E84080
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9A3BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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