#9A46CA#9A46CA

#9A46CA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.202 H 310.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9A46CA
RGBrgb(154, 70, 202)
HSLhsl(278, 55%, 53%)
HSVhsv(278, 65%, 79%)
CMYKcmyk(23.8%, 65.3%, 0%, 20.8%)
CIE-LABlab(46.33, 56.63, -54.17)
CIE-LCHlch(46.33, 78.37, 316.27°)
OKLaboklab(56.2% 0.1319 -0.1529)
OKLCHoklch(56.2% 0.202 310.8)
XYZxyz(26.1752, 15.5152, 57.4815)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46CA #76CA46
analogous
#5846CA #9A46CA #CA46B8
triadic
#9A46CA #CA9A46 #46CA9A
tetradic
#9A46CA #CA5846 #76CA46 #46B8CA
square
#9A46CA #CA5846 #76CA46 #46B8CA
split-complementary
#9A46CA #B8CA46 #46CA58
monochromatic
#562174 #792FA4 #9A46CA #B476D8 #CEA5E5

Accessibility & contrast

On white

5.12
#9A46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9A46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A46CA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A46CA#FFFFFF#000000##FFFFFF
##9A46CA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#366FC7
Tritanopia (blue-blind)
#946182
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a46ca;
/* rgb */ color: rgb(154, 70, 202);
/* oklch */ color: oklch(56.2% 0.202 310.8);
Tailwind
colors: {
  custom: {
    50: '#bc7fdb',
    500: '#9a46ca',
    950: '#000000',
  },
}
SCSS
$custom: #9a46ca;
$custom-light: #bc7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46ca",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 278.182,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56201,
    "c": 0.20192,
    "h": 310.8
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#9A46CA
secondary
#AED29A
accent
#DF497F
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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