#9A3FDD#9A3FDD

#9A3FDD is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.7% C 0.229 H 306.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9A3FDD
RGBrgb(154, 63, 221)
HSLhsl(275, 70%, 56%)
HSVhsv(275, 71%, 87%)
CMYKcmyk(30.3%, 71.5%, 0%, 13.3%)
CIE-LABlab(46.51, 63.87, -64.79)
CIE-LCHlch(46.51, 90.98, 314.59°)
OKLaboklab(56.73% 0.1371 -0.184)
OKLCHoklch(56.73% 0.229 306.7)
XYZxyz(28.1523, 15.6458, 69.9294)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FDD #82DD3F
analogous
#4B3FDD #9A3FDD #DD3FD1
triadic
#9A3FDD #DD9A3F #3FDD9A
tetradic
#9A3FDD #DD4B3F #82DD3F #3FD1DD
square
#9A3FDD #DD4B3F #82DD3F #3FD1DD
split-complementary
#9A3FDD #D1DD3F #3FDD4B
monochromatic
#591889 #7B22BD #9A3FDD #B573E6 #D1A7EF

Accessibility & contrast

On white

5.09
#9A3FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9A3FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FDD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FDD#FFFFFF#000000##FFFFFF
##9A3FDD1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#8F648A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a3fdd;
/* rgb */ color: rgb(154, 63, 221);
/* oklch */ color: oklch(56.7% 0.229 306.7);
Tailwind
colors: {
  custom: {
    50: '#bd7ce8',
    500: '#9a3fdd',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fdd;
$custom-light: #bd7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fdd",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 221
  },
  "hsl": {
    "h": 274.557,
    "s": 69.912,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.22944,
    "h": 306.7
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#9A3FDD
secondary
#B7DD9B
accent
#ED3B86
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A3FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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