#9D46E5#9D46E5

#9D46E5 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.4% C 0.230 H 305.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9D46E5
RGBrgb(157, 70, 229)
HSLhsl(273, 75%, 59%)
HSVhsv(273, 69%, 90%)
CMYKcmyk(31.4%, 69.4%, 0%, 10.2%)
CIE-LABlab(48.52, 63.22, -66.05)
CIE-LCHlch(48.52, 91.43, 313.75°)
OKLaboklab(58.42% 0.133 -0.1876)
OKLCHoklch(58.42% 0.23 305.3)
XYZxyz(30.2345, 17.2058, 75.8418)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46E5 #8EE546
analogous
#4D46E5 #9D46E5 #E546DD
triadic
#9D46E5 #E59D46 #46E59D
tetradic
#9D46E5 #E54D46 #8EE546 #46DDE5
square
#9D46E5 #E54D46 #8EE546 #46DDE5
split-complementary
#9D46E5 #DDE546 #46E54D
monochromatic
#5F169B #7F1DD0 #9D46E5 #B97CED #D6B1F4

Accessibility & contrast

On white

4.73
#9D46E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9D46E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46E5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46E5#FFFFFF#000000##FFFFFF
##9D46E51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#906B91
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d46e5;
/* rgb */ color: rgb(157, 70, 229);
/* oklch */ color: oklch(58.4% 0.230 305.3);
Tailwind
colors: {
  custom: {
    50: '#bf80ee',
    500: '#9d46e5',
    950: '#000000',
  },
}
SCSS
$custom: #9d46e5;
$custom-light: #bf80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46e5",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 272.83,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5842,
    "c": 0.22999,
    "h": 305.3
  },
  "luminance": 0.17206
}

Semantic roles & 50–950 ramp

primary
#9D46E5
secondary
#C0E3A4
accent
#F2368B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D46E5

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

Preview Lab → · Contrast checker → · Palette generator →

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