#9A46E4#9A46E4

#9A46E4 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.228 H 304.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9A46E4
RGBrgb(154, 70, 228)
HSLhsl(272, 75%, 58%)
HSVhsv(272, 69%, 89%)
CMYKcmyk(32.5%, 69.3%, 0%, 10.6%)
CIE-LABlab(48.07, 62.42, -66.22)
CIE-LCHlch(48.07, 91.00, 313.31°)
OKLaboklab(58% 0.1292 -0.1883)
OKLCHoklch(58% 0.228 304.5)
XYZxyz(29.5170, 16.8519, 75.0815)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46E4 #90E446
analogous
#4B46E4 #9A46E4 #E446DF
triadic
#9A46E4 #E49A46 #46E49A
tetradic
#9A46E4 #E44B46 #90E446 #46DFE4
square
#9A46E4 #E44B46 #90E446 #46DFE4
split-complementary
#9A46E4 #DFE446 #46E44B
monochromatic
#5C1699 #7C1ECF #9A46E4 #B77BEC #D4B1F4

Accessibility & contrast

On white

4.81
#9A46E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9A46E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A46E4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A46E4#FFFFFF#000000##FFFFFF
##9A46E41.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#8C6B90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a46e4;
/* rgb */ color: rgb(154, 70, 228);
/* oklch */ color: oklch(58.0% 0.228 304.5);
Tailwind
colors: {
  custom: {
    50: '#bd80ed',
    500: '#9a46e4',
    950: '#000000',
  },
}
SCSS
$custom: #9a46e4;
$custom-light: #bd80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46e4",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 271.899,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58,
    "c": 0.22831,
    "h": 304.5
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

primary
#9A46E4
secondary
#C1E2A4
accent
#F1378E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A46E4

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

Preview Lab → · Contrast checker → · Palette generator →

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