#9A46DD#9A46DD

#9A46DD is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.221 H 306.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9A46DD
RGBrgb(154, 70, 221)
HSLhsl(273, 69%, 57%)
HSVhsv(273, 68%, 87%)
CMYKcmyk(30.3%, 68.3%, 0%, 13.3%)
CIE-LABlab(47.59, 60.84, -63.04)
CIE-LCHlch(47.59, 87.60, 313.98°)
OKLaboklab(57.5% 0.1301 -0.1789)
OKLCHoklch(57.5% 0.221 306)
XYZxyz(28.5649, 16.4711, 70.0670)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46DD #89DD46
analogous
#4E46DD #9A46DD #DD46D5
triadic
#9A46DD #DD9A46 #46DD9A
tetradic
#9A46DD #DD4E46 #89DD46 #46D5DD
square
#9A46DD #DD4E46 #89DD46 #46D5DD
split-complementary
#9A46DD #D5DD46 #46DD4E
monochromatic
#5B1A8E #7C24C2 #9A46DD #B67AE7 #D2ADF0

Accessibility & contrast

On white

4.89
#9A46DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9A46DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A46DD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A46DD#FFFFFF#000000##FFFFFF
##9A46DD1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#1371DA
Tritanopia (blue-blind)
#8E688C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a46dd;
/* rgb */ color: rgb(154, 70, 221);
/* oklch */ color: oklch(57.5% 0.221 306.0);
Tailwind
colors: {
  custom: {
    50: '#bd80e8',
    500: '#9a46dd',
    950: '#000000',
  },
}
SCSS
$custom: #9a46dd;
$custom-light: #bd80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46dd",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 273.377,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57499,
    "c": 0.2212,
    "h": 306
  },
  "luminance": 0.16471
}

Semantic roles & 50–950 ramp

primary
#9A46DD
secondary
#BCDEA1
accent
#EC3C8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A46DD

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

Preview Lab → · Contrast checker → · Palette generator →

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