#9B46DB#9B46DB

#9B46DB is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.219 H 306.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9B46DB
RGBrgb(155, 70, 219)
HSLhsl(274, 67%, 57%)
HSVhsv(274, 68%, 86%)
CMYKcmyk(29.2%, 68%, 0%, 14.1%)
CIE-LABlab(47.58, 60.59, -61.91)
CIE-LCHlch(47.58, 86.62, 314.38°)
OKLaboklab(57.48% 0.1317 -0.1755)
OKLCHoklch(57.48% 0.219 306.9)
XYZxyz(28.4912, 16.4637, 68.6810)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46DB #86DB46
analogous
#5146DB #9B46DB #DB46D1
triadic
#9B46DB #DB9B46 #46DB9B
tetradic
#9B46DB #DB5146 #86DB46 #46D1DB
square
#9B46DB #DB5146 #86DB46 #46D1DB
split-complementary
#9B46DB #D1DB46 #46DB51
monochromatic
#5B1B8B #7D25BF #9B46DB #B779E5 #D2ACEF

Accessibility & contrast

On white

4.89
#9B46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9B46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46DB#FFFFFF#000000##FFFFFF
##9B46DB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#1C71D8
Tritanopia (blue-blind)
#90678B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b46db;
/* rgb */ color: rgb(155, 70, 219);
/* oklch */ color: oklch(57.5% 0.219 306.9);
Tailwind
colors: {
  custom: {
    50: '#bd80e7',
    500: '#9b46db',
    950: '#000000',
  },
}
SCSS
$custom: #9b46db;
$custom-light: #bd80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46db",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 274.228,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57477,
    "c": 0.21943,
    "h": 306.9
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#9B46DB
secondary
#BADDA0
accent
#EA3D88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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