#9A46D2#9A46D2

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

Color values

HEX#9A46D2
RGBrgb(154, 70, 210)
HSLhsl(276, 61%, 55%)
HSVhsv(276, 67%, 82%)
CMYKcmyk(26.7%, 66.7%, 0%, 17.6%)
CIE-LABlab(46.85, 58.38, -57.94)
CIE-LCHlch(46.85, 82.26, 315.22°)
OKLaboklab(56.74% 0.1313 -0.1639)
OKLCHoklch(56.74% 0.21 308.7)
XYZxyz(27.1471, 15.9039, 62.5999)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46D2 #7ED246
analogous
#5446D2 #9A46D2 #D246C4
triadic
#9A46D2 #D29A46 #46D29A
tetradic
#9A46D2 #D25446 #7ED246 #46C4D2
square
#9A46D2 #D25446 #7ED246 #46C4D2
split-complementary
#9A46D2 #C4D246 #46D254
monochromatic
#581F7F #7B2BB0 #9A46D2 #B577DE #D0A8EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A46D2#FFFFFF#000000##FFFFFF
##9A46D21.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)
#006CD6
Deuteranopia (green-blind)
#2B70CF
Tritanopia (blue-blind)
#926486
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a46d2;
/* rgb */ color: rgb(154, 70, 210);
/* oklch */ color: oklch(56.7% 0.210 308.7);
Tailwind
colors: {
  custom: {
    50: '#bc7fe1',
    500: '#9a46d2',
    950: '#000000',
  },
}
SCSS
$custom: #9a46d2;
$custom-light: #bc7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46d2",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 276,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56737,
    "c": 0.21004,
    "h": 308.7
  },
  "luminance": 0.15903
}

Semantic roles & 50–950 ramp

primary
#9A46D2
secondary
#B4D79C
accent
#E44484
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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