#9A46DE#9A46DE

#9A46DE is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.6% C 0.222 H 305.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9A46DE
RGBrgb(154, 70, 222)
HSLhsl(273, 70%, 57%)
HSVhsv(273, 68%, 87%)
CMYKcmyk(30.6%, 68.5%, 0%, 12.9%)
CIE-LABlab(47.66, 61.06, -63.49)
CIE-LCHlch(47.66, 88.09, 313.88°)
OKLaboklab(57.57% 0.13 -0.1802)
OKLCHoklch(57.57% 0.222 305.8)
XYZxyz(28.6985, 16.5245, 70.7707)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46DE #8ADE46
analogous
#4E46DE #9A46DE #DE46D6
triadic
#9A46DE #DE9A46 #46DE9A
tetradic
#9A46DE #DE4E46 #8ADE46 #46D6DE
square
#9A46DE #DE4E46 #8ADE46 #46D6DE
split-complementary
#9A46DE #D6DE46 #46DE4E
monochromatic
#5B1A90 #7C23C4 #9A46DE #B67AE7 #D3AEF1

Accessibility & contrast

On white

4.88
#9A46DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9A46DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A46DE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A46DE#FFFFFF#000000##FFFFFF
##9A46DE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#0F71DB
Tritanopia (blue-blind)
#8E688D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a46de;
/* rgb */ color: rgb(154, 70, 222);
/* oklch */ color: oklch(57.6% 0.222 305.8);
Tailwind
colors: {
  custom: {
    50: '#bd80e9',
    500: '#9a46de',
    950: '#000000',
  },
}
SCSS
$custom: #9a46de;
$custom-light: #bd80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46de",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 273.158,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.22222,
    "h": 305.8
  },
  "luminance": 0.16524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A46DE

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

Preview Lab → · Contrast checker → · Palette generator →

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