#9A3DE5#9A3DE5

#9A3DE5 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.1% C 0.239 H 305.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9A3DE5
RGBrgb(154, 61, 229)
HSLhsl(273, 76%, 57%)
HSVhsv(273, 73%, 90%)
CMYKcmyk(32.8%, 73.4%, 0%, 10.2%)
CIE-LABlab(46.80, 66.45, -68.86)
CIE-LCHlch(46.80, 95.70, 313.98°)
OKLaboklab(57.12% 0.1375 -0.196)
OKLCHoklch(57.12% 0.239 305.1)
XYZxyz(29.1348, 15.8648, 75.6409)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DE5 #88E53D
analogous
#463DE5 #9A3DE5 #E53DDC
triadic
#9A3DE5 #E59A3D #3DE59A
tetradic
#9A3DE5 #E5463D #88E53D #3DDCE5
square
#9A3DE5 #E5463D #88E53D #3DDCE5
split-complementary
#9A3DE5 #DCE53D #3DE546
monochromatic
#5B1494 #7C1BCA #9A3DE5 #B673EC #D2A9F3

Accessibility & contrast

On white

5.03
#9A3DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9A3DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DE5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DE5#FFFFFF#000000##FFFFFF
##9A3DE51.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#8C668E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a3de5;
/* rgb */ color: rgb(154, 61, 229);
/* oklch */ color: oklch(57.1% 0.239 305.1);
Tailwind
colors: {
  custom: {
    50: '#be7bee',
    500: '#9a3de5',
    950: '#000000',
  },
}
SCSS
$custom: #9a3de5;
$custom-light: #be7bee;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3de5",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 229
  },
  "hsl": {
    "h": 273.214,
    "s": 76.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57118,
    "c": 0.23939,
    "h": 305.1
  },
  "luminance": 0.15865
}

Semantic roles & 50–950 ramp

primary
#9A3DE5
secondary
#BBE19D
accent
#F3358A
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A3DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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