#9A46D5#9A46D5

#9A46D5 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.213 H 307.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9A46D5
RGBrgb(154, 70, 213)
HSLhsl(275, 63%, 55%)
HSVhsv(275, 67%, 84%)
CMYKcmyk(27.7%, 67.1%, 0%, 16.5%)
CIE-LABlab(47.05, 59.05, -59.34)
CIE-LCHlch(47.05, 83.72, 314.86°)
OKLaboklab(56.94% 0.131 -0.168)
OKLCHoklch(56.94% 0.213 307.9)
XYZxyz(27.5243, 16.0548, 64.5868)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46D5 #81D546
analogous
#5246D5 #9A46D5 #D546C8
triadic
#9A46D5 #D59A46 #46D59A
tetradic
#9A46D5 #D55246 #81D546 #46C8D5
square
#9A46D5 #D55246 #81D546 #46C8D5
split-complementary
#9A46D5 #C8D546 #46D552
monochromatic
#591E83 #7B29B5 #9A46D5 #B578E0 #D0AAEC

Accessibility & contrast

On white

4.99
#9A46D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9A46D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A46D5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A46D5#FFFFFF#000000##FFFFFF
##9A46D51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#2670D2
Tritanopia (blue-blind)
#916588
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a46d5;
/* rgb */ color: rgb(154, 70, 213);
/* oklch */ color: oklch(56.9% 0.213 307.9);
Tailwind
colors: {
  custom: {
    50: '#bc7fe3',
    500: '#9a46d5',
    950: '#000000',
  },
}
SCSS
$custom: #9a46d5;
$custom-light: #bc7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46d5",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 275.245,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.21308,
    "h": 307.9
  },
  "luminance": 0.16054
}

Semantic roles & 50–950 ramp

primary
#9A46D5
secondary
#B6D99E
accent
#E64286
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9A46D5

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

Preview Lab → · Contrast checker → · Palette generator →

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