#9A46EB#9A46EB

#9A46EB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.5% C 0.235 H 303.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9A46EB
RGBrgb(154, 70, 235)
HSLhsl(271, 80%, 60%)
HSVhsv(271, 70%, 92%)
CMYKcmyk(34.5%, 70.2%, 0%, 7.8%)
CIE-LABlab(48.57, 64.02, -69.37)
CIE-LCHlch(48.57, 94.39, 312.70°)
OKLaboklab(58.51% 0.1281 -0.1975)
OKLCHoklch(58.51% 0.235 303)
XYZxyz(30.5085, 17.2485, 80.3032)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46EB #97EB46
analogous
#4746EB #9A46EB #EB46EA
triadic
#9A46EB #EB9A46 #46EB9A
tetradic
#9A46EB #EB4746 #97EB46 #46EAEB
square
#9A46EB #EB4746 #97EB46 #46EAEB
split-complementary
#9A46EB #EAEB46 #46EB47
monochromatic
#5D12A5 #7C18DC #9A46EB #B87DF1 #D6B4F7

Accessibility & contrast

On white

4.72
#9A46EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9A46EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A46EB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A46EB#FFFFFF#000000##FFFFFF
##9A46EB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#8A6D94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9a46eb;
/* rgb */ color: rgb(154, 70, 235);
/* oklch */ color: oklch(58.5% 0.235 303.0);
Tailwind
colors: {
  custom: {
    50: '#be80f2',
    500: '#9a46eb',
    950: '#000000',
  },
}
SCSS
$custom: #9a46eb;
$custom-light: #be80f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46eb",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 270.545,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.23539,
    "h": 303
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#9A46EB
secondary
#C6E6A7
accent
#F73192
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A46EB

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

Preview Lab → · Contrast checker → · Palette generator →

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