#9A3EE4#9A3EE4

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

Color values

HEX#9A3EE4
RGBrgb(154, 62, 228)
HSLhsl(273, 75%, 57%)
HSVhsv(273, 73%, 89%)
CMYKcmyk(32.5%, 72.8%, 0%, 10.6%)
CIE-LABlab(46.87, 65.83, -68.18)
CIE-LCHlch(46.87, 94.77, 313.99°)
OKLaboklab(57.14% 0.1368 -0.194)
OKLCHoklch(57.14% 0.237 305.2)
XYZxyz(29.0495, 15.9169, 74.9256)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3EE4 #88E43E
analogous
#473EE4 #9A3EE4 #E43EDB
triadic
#9A3EE4 #E49A3E #3EE49A
tetradic
#9A3EE4 #E4473E #88E43E #3EDBE4
square
#9A3EE4 #E4473E #88E43E #3EDBE4
split-complementary
#9A3EE4 #DBE43E #3EE447
monochromatic
#5B1593 #7C1CC9 #9A3EE4 #B674EC #D2A9F3

Accessibility & contrast

On white

5.02
#9A3EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9A3EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3EE4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3EE4#FFFFFF#000000##FFFFFF
##9A3EE41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a3ee4;
/* rgb */ color: rgb(154, 62, 228);
/* oklch */ color: oklch(57.1% 0.237 305.2);
Tailwind
colors: {
  custom: {
    50: '#be7ced',
    500: '#9a3ee4',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ee4;
$custom-light: #be7ced;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ee4",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 228
  },
  "hsl": {
    "h": 273.253,
    "s": 75.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57143,
    "c": 0.23735,
    "h": 305.2
  },
  "luminance": 0.15917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A3EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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