#9D46E1#9D46E1

#9D46E1 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.226 H 306.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9D46E1
RGBrgb(157, 70, 225)
HSLhsl(274, 72%, 58%)
HSVhsv(274, 69%, 88%)
CMYKcmyk(30.2%, 68.9%, 0%, 11.8%)
CIE-LABlab(48.24, 62.33, -64.23)
CIE-LCHlch(48.24, 89.50, 314.14°)
OKLaboklab(58.14% 0.1335 -0.1823)
OKLCHoklch(58.14% 0.226 306.2)
XYZxyz(29.6824, 16.9849, 72.9343)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46E1 #8AE146
analogous
#4F46E1 #9D46E1 #E146D8
triadic
#9D46E1 #E19D46 #46E19D
tetradic
#9D46E1 #E14F46 #8AE146 #46D8E1
square
#9D46E1 #E14F46 #8AE146 #46D8E1
split-complementary
#9D46E1 #D8E146 #46E14F
monochromatic
#5E1895 #7F21C9 #9D46E1 #B97BEA #D5AFF2

Accessibility & contrast

On white

4.78
#9D46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9D46E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46E1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46E1#FFFFFF#000000##FFFFFF
##9D46E11.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0F73DE
Tritanopia (blue-blind)
#91698F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d46e1;
/* rgb */ color: rgb(157, 70, 225);
/* oklch */ color: oklch(58.1% 0.226 306.2);
Tailwind
colors: {
  custom: {
    50: '#bf80eb',
    500: '#9d46e1',
    950: '#000000',
  },
}
SCSS
$custom: #9d46e1;
$custom-light: #bf80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46e1",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 273.677,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58135,
    "c": 0.22598,
    "h": 306.2
  },
  "luminance": 0.16985
}

Semantic roles & 50–950 ramp

primary
#9D46E1
secondary
#BEE0A2
accent
#EF3989
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D46E1

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

Preview Lab → · Contrast checker → · Palette generator →

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