#9D46EA#9D46EA

#9D46EA is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.8% C 0.235 H 304.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9D46EA
RGBrgb(157, 70, 234)
HSLhsl(272, 80%, 60%)
HSVhsv(272, 70%, 92%)
CMYKcmyk(32.9%, 70.1%, 0%, 8.2%)
CIE-LABlab(48.87, 64.35, -68.30)
CIE-LCHlch(48.87, 93.84, 313.29°)
OKLaboklab(58.78% 0.1322 -0.1943)
OKLCHoklch(58.78% 0.235 304.2)
XYZxyz(30.9427, 17.4890, 79.5715)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46EA #93EA46
analogous
#4B46EA #9D46EA #EA46E5
triadic
#9D46EA #EA9D46 #46EA9D
tetradic
#9D46EA #EA4B46 #93EA46 #46E5EA
square
#9D46EA #EA4B46 #93EA46 #46E5EA
split-complementary
#9D46EA #E5EA46 #46EA4B
monochromatic
#5F13A3 #7F19DA #9D46EA #BA7DF0 #D7B4F6

Accessibility & contrast

On white

4.67
#9D46EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9D46EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46EA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46EA#FFFFFF#000000##FFFFFF
##9D46EA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#8E6D94
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d46ea;
/* rgb */ color: rgb(157, 70, 234);
/* oklch */ color: oklch(58.8% 0.235 304.2);
Tailwind
colors: {
  custom: {
    50: '#c080f2',
    500: '#9d46ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d46ea;
$custom-light: #c080f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46ea",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 234
  },
  "hsl": {
    "h": 271.829,
    "s": 79.612,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.235,
    "h": 304.2
  },
  "luminance": 0.17489
}

Semantic roles & 50–950 ramp

primary
#9D46EA
secondary
#C4E6A6
accent
#F6328E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D46EA

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

Preview Lab → · Contrast checker → · Palette generator →

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