#9A46DF#9A46DF

#9A46DF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.223 H 305.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9A46DF
RGBrgb(154, 70, 223)
HSLhsl(273, 71%, 57%)
HSVhsv(273, 69%, 87%)
CMYKcmyk(30.9%, 68.6%, 0%, 12.5%)
CIE-LABlab(47.72, 61.29, -63.95)
CIE-LCHlch(47.72, 88.58, 313.78°)
OKLaboklab(57.64% 0.1299 -0.1816)
OKLCHoklch(57.64% 0.223 305.6)
XYZxyz(28.8329, 16.5783, 71.4787)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46DF #8BDF46
analogous
#4D46DF #9A46DF #DF46D8
triadic
#9A46DF #DF9A46 #46DF9A
tetradic
#9A46DF #DF4D46 #8BDF46 #46D8DF
square
#9A46DF #DF4D46 #8BDF46 #46D8DF
split-complementary
#9A46DF #D8DF46 #46DF4D
monochromatic
#5B1991 #7C22C6 #9A46DF #B67AE8 #D3AEF1

Accessibility & contrast

On white

4.87
#9A46DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9A46DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A46DF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A46DF#FFFFFF#000000##FFFFFF
##9A46DF1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0B71DC
Tritanopia (blue-blind)
#8E698D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a46df;
/* rgb */ color: rgb(154, 70, 223);
/* oklch */ color: oklch(57.6% 0.223 305.6);
Tailwind
colors: {
  custom: {
    50: '#bd80ea',
    500: '#9a46df',
    950: '#000000',
  },
}
SCSS
$custom: #9a46df;
$custom-light: #bd80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46df",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 272.941,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57641,
    "c": 0.22324,
    "h": 305.6
  },
  "luminance": 0.16578
}

Semantic roles & 50–950 ramp

primary
#9A46DF
secondary
#BDDFA2
accent
#ED3B8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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