#9D46DB#9D46DB

#9D46DB is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.220 H 307.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9D46DB
RGBrgb(157, 70, 219)
HSLhsl(275, 67%, 57%)
HSVhsv(275, 68%, 86%)
CMYKcmyk(28.3%, 68%, 0%, 14.1%)
CIE-LABlab(47.83, 60.99, -61.48)
CIE-LCHlch(47.83, 86.60, 314.77°)
OKLaboklab(57.71% 0.1343 -0.1742)
OKLCHoklch(57.71% 0.22 307.6)
XYZxyz(28.8783, 16.6633, 68.6991)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46DB #84DB46
analogous
#5346DB #9D46DB #DB46CE
triadic
#9D46DB #DB9D46 #46DB9D
tetradic
#9D46DB #DB5346 #84DB46 #46CEDB
square
#9D46DB #DB5346 #84DB46 #46CEDB
split-complementary
#9D46DB #CEDB46 #46DB53
monochromatic
#5D1B8B #7F25BF #9D46DB #B879E5 #D3ACEF

Accessibility & contrast

On white

4.85
#9D46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9D46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46DB#FFFFFF#000000##FFFFFF
##9D46DB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#2172D8
Tritanopia (blue-blind)
#93678B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d46db;
/* rgb */ color: rgb(157, 70, 219);
/* oklch */ color: oklch(57.7% 0.220 307.6);
Tailwind
colors: {
  custom: {
    50: '#bf80e7',
    500: '#9d46db',
    950: '#000000',
  },
}
SCSS
$custom: #9d46db;
$custom-light: #bf80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46db",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 275.034,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57714,
    "c": 0.21996,
    "h": 307.6
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#9D46DB
secondary
#B9DDA0
accent
#EA3D85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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