#9D46E2#9D46E2

#9D46E2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.2% C 0.227 H 306.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9D46E2
RGBrgb(157, 70, 226)
HSLhsl(273, 73%, 58%)
HSVhsv(273, 69%, 89%)
CMYKcmyk(30.5%, 69%, 0%, 11.4%)
CIE-LABlab(48.31, 62.55, -64.69)
CIE-LCHlch(48.31, 89.98, 314.04°)
OKLaboklab(58.21% 0.1334 -0.1836)
OKLCHoklch(58.21% 0.227 306)
XYZxyz(29.8193, 17.0397, 73.6548)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46E2 #8BE246
analogous
#4F46E2 #9D46E2 #E246D9
triadic
#9D46E2 #E29D46 #46E29D
tetradic
#9D46E2 #E24F46 #8BE246 #46D9E2
square
#9D46E2 #E24F46 #8BE246 #46D9E2
split-complementary
#9D46E2 #D9E246 #46E24F
monochromatic
#5E1896 #7F20CB #9D46E2 #B97BEA #D5B0F3

Accessibility & contrast

On white

4.76
#9D46E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9D46E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46E2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46E2#FFFFFF#000000##FFFFFF
##9D46E21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0A73DF
Tritanopia (blue-blind)
#916A8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d46e2;
/* rgb */ color: rgb(157, 70, 226);
/* oklch */ color: oklch(58.2% 0.227 306.0);
Tailwind
colors: {
  custom: {
    50: '#bf80ec',
    500: '#9d46e2',
    950: '#000000',
  },
}
SCSS
$custom: #9d46e2;
$custom-light: #bf80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46e2",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 273.462,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.22698,
    "h": 306
  },
  "luminance": 0.17039
}

Semantic roles & 50–950 ramp

primary
#9D46E2
secondary
#BEE1A3
accent
#F03889
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D46E2

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

Preview Lab → · Contrast checker → · Palette generator →

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