#9A3BE5#9A3BE5

#9A3BE5 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.9% C 0.241 H 305.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9A3BE5
RGBrgb(154, 59, 229)
HSLhsl(274, 77%, 56%)
HSVhsv(274, 74%, 90%)
CMYKcmyk(32.8%, 74.2%, 0%, 10.2%)
CIE-LABlab(46.52, 67.25, -69.31)
CIE-LCHlch(46.52, 96.57, 314.13°)
OKLaboklab(56.92% 0.1393 -0.1973)
OKLCHoklch(56.92% 0.241 305.2)
XYZxyz(29.0301, 15.6553, 75.6060)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BE5 #86E53B
analogous
#453BE5 #9A3BE5 #E53BDB
triadic
#9A3BE5 #E59A3B #3BE59A
tetradic
#9A3BE5 #E5453B #86E53B #3BDBE5
square
#9A3BE5 #E5453B #86E53B #3BDBE5
split-complementary
#9A3BE5 #DBE53B #3BE545
monochromatic
#5A1392 #7C1BC8 #9A3BE5 #B671EC #D2A7F3

Accessibility & contrast

On white

5.08
#9A3BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A3BE5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BE5#FFFFFF#000000##FFFFFF
##9A3BE51.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#8C658E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a3be5;
/* rgb */ color: rgb(154, 59, 229);
/* oklch */ color: oklch(56.9% 0.241 305.2);
Tailwind
colors: {
  custom: {
    50: '#be7aee',
    500: '#9a3be5',
    950: '#000000',
  },
}
SCSS
$custom: #9a3be5;
$custom-light: #be7aee;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3be5",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 229
  },
  "hsl": {
    "h": 273.529,
    "s": 76.577,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.24147,
    "h": 305.2
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#9A3BE5
secondary
#BAE19B
accent
#F33589
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A3BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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