#9A3DE4#9A3DE4

#9A3DE4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 57.0% C 0.238 H 305.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9A3DE4
RGBrgb(154, 61, 228)
HSLhsl(273, 76%, 57%)
HSVhsv(273, 73%, 89%)
CMYKcmyk(32.5%, 73.2%, 0%, 10.6%)
CIE-LABlab(46.72, 66.23, -68.41)
CIE-LCHlch(46.72, 95.22, 314.07°)
OKLaboklab(57.04% 0.1377 -0.1946)
OKLCHoklch(57.04% 0.238 305.3)
XYZxyz(28.9956, 15.8091, 74.9077)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DE4 #87E43D
analogous
#473DE4 #9A3DE4 #E43DDB
triadic
#9A3DE4 #E49A3D #3DE49A
tetradic
#9A3DE4 #E4473D #87E43D #3DDBE4
square
#9A3DE4 #E4473D #87E43D #3DDBE4
split-complementary
#9A3DE4 #DBE43D #3DE447
monochromatic
#5A1492 #7C1CC8 #9A3DE4 #B673EB #D2A8F3

Accessibility & contrast

On white

5.05
#9A3DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9A3DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DE4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DE4#FFFFFF#000000##FFFFFF
##9A3DE41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a3de4;
/* rgb */ color: rgb(154, 61, 228);
/* oklch */ color: oklch(57.0% 0.238 305.3);
Tailwind
colors: {
  custom: {
    50: '#be7bee',
    500: '#9a3de4',
    950: '#000000',
  },
}
SCSS
$custom: #9a3de4;
$custom-light: #be7bee;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3de4",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 228
  },
  "hsl": {
    "h": 273.413,
    "s": 75.566,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57043,
    "c": 0.23843,
    "h": 305.3
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#9A3DE4
secondary
#BBE19C
accent
#F23689
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A3DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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