#9A3FD5#9A3FD5

#9A3FD5 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.222 H 308.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9A3FD5
RGBrgb(154, 63, 213)
HSLhsl(276, 64%, 54%)
HSVhsv(276, 70%, 84%)
CMYKcmyk(27.7%, 70.4%, 0%, 16.5%)
CIE-LABlab(45.95, 62.12, -61.12)
CIE-LCHlch(45.95, 87.15, 315.47°)
OKLaboklab(56.16% 0.1383 -0.1732)
OKLCHoklch(56.16% 0.222 308.6)
XYZxyz(27.1117, 15.2296, 64.4493)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FD5 #7AD53F
analogous
#4F3FD5 #9A3FD5 #D53FC5
triadic
#9A3FD5 #D59A3F #3FD59A
tetradic
#9A3FD5 #D54F3F #7AD53F #3FC5D5
square
#9A3FD5 #D54F3F #7AD53F #3FC5D5
split-complementary
#9A3FD5 #C5D53F #3FD54F
monochromatic
#571C7E #7A27B0 #9A3FD5 #B471E0 #CFA3EB

Accessibility & contrast

On white

5.19
#9A3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9A3FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FD5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FD5#FFFFFF#000000##FFFFFF
##9A3FD51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#196ED2
Tritanopia (blue-blind)
#916186
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a3fd5;
/* rgb */ color: rgb(154, 63, 213);
/* oklch */ color: oklch(56.2% 0.222 308.6);
Tailwind
colors: {
  custom: {
    50: '#bd7ce3',
    500: '#9a3fd5',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fd5;
$custom-light: #bd7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fd5",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 276.4,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56157,
    "c": 0.22165,
    "h": 308.6
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#9A3FD5
secondary
#B1D898
accent
#E74182
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9A3FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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