#9A3FD1#9A3FD1

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

Color values

HEX#9A3FD1
RGBrgb(154, 63, 209)
HSLhsl(277, 61%, 53%)
HSVhsv(277, 70%, 82%)
CMYKcmyk(26.3%, 69.9%, 0%, 18%)
CIE-LABlab(45.67, 61.26, -59.27)
CIE-LCHlch(45.67, 85.24, 315.95°)
OKLaboklab(55.88% 0.1388 -0.1678)
OKLCHoklch(55.88% 0.218 309.6)
XYZxyz(26.6103, 15.0290, 61.8083)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FD1 #76D13F
analogous
#513FD1 #9A3FD1 #D13FBF
triadic
#9A3FD1 #D19A3F #3FD19A
tetradic
#9A3FD1 #D1513F #76D13F #3FBFD1
square
#9A3FD1 #D1513F #76D13F #3FBFD1
split-complementary
#9A3FD1 #BFD13F #3FD151
monochromatic
#561D79 #7929AA #9A3FD1 #B470DD #CEA2E9

Accessibility & contrast

On white

5.24
#9A3FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9A3FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FD1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FD1#FFFFFF#000000##FFFFFF
##9A3FD11.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#226DCE
Tritanopia (blue-blind)
#925F84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a3fd1;
/* rgb */ color: rgb(154, 63, 209);
/* oklch */ color: oklch(55.9% 0.218 309.6);
Tailwind
colors: {
  custom: {
    50: '#bc7be0',
    500: '#9a3fd1',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fd1;
$custom-light: #bc7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fd1",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 209
  },
  "hsl": {
    "h": 277.397,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.21775,
    "h": 309.6
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

primary
#9A3FD1
secondary
#AED597
accent
#E44380
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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