#9A46D6#9A46D6

#9A46D6 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.214 H 307.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9A46D6
RGBrgb(154, 70, 214)
HSLhsl(275, 64%, 56%)
HSVhsv(275, 67%, 84%)
CMYKcmyk(28%, 67.3%, 0%, 16.1%)
CIE-LABlab(47.11, 59.27, -59.81)
CIE-LCHlch(47.11, 84.20, 314.74°)
OKLaboklab(57.01% 0.1309 -0.1694)
OKLCHoklch(57.01% 0.214 307.7)
XYZxyz(27.6517, 16.1058, 65.2573)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46D6 #82D646
analogous
#5246D6 #9A46D6 #D646CA
triadic
#9A46D6 #D69A46 #46D69A
tetradic
#9A46D6 #D65246 #82D646 #46CAD6
square
#9A46D6 #D65246 #82D646 #46CAD6
split-complementary
#9A46D6 #CAD646 #46D652
monochromatic
#591D84 #7B28B6 #9A46D6 #B578E1 #D1AAEC

Accessibility & contrast

On white

4.98
#9A46D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9A46D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A46D6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A46D6#FFFFFF#000000##FFFFFF
##9A46D61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#2571D3
Tritanopia (blue-blind)
#906589
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a46d6;
/* rgb */ color: rgb(154, 70, 214);
/* oklch */ color: oklch(57.0% 0.214 307.7);
Tailwind
colors: {
  custom: {
    50: '#bc7fe3',
    500: '#9a46d6',
    950: '#000000',
  },
}
SCSS
$custom: #9a46d6;
$custom-light: #bc7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46d6",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 275,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57011,
    "c": 0.21409,
    "h": 307.7
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#9A46D6
secondary
#B7DA9E
accent
#E74186
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A46D6

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

Preview Lab → · Contrast checker → · Palette generator →

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