#9B46DA#9B46DA

#9B46DA is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.218 H 307.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9B46DA
RGBrgb(155, 70, 218)
HSLhsl(274, 67%, 56%)
HSVhsv(274, 68%, 85%)
CMYKcmyk(28.9%, 67.9%, 0%, 14.5%)
CIE-LABlab(47.51, 60.36, -61.45)
CIE-LCHlch(47.51, 86.14, 314.49°)
OKLaboklab(57.41% 0.1318 -0.1742)
OKLCHoklch(57.41% 0.218 307.1)
XYZxyz(28.3599, 16.4112, 67.9897)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46DA #85DA46
analogous
#5146DA #9B46DA #DA46CF
triadic
#9B46DA #DA9B46 #46DA9B
tetradic
#9B46DA #DA5146 #85DA46 #46CFDA
square
#9B46DA #DA5146 #85DA46 #46CFDA
split-complementary
#9B46DA #CFDA46 #46DA51
monochromatic
#5B1C8A #7D26BD #9B46DA #B779E4 #D2ACEE

Accessibility & contrast

On white

4.90
#9B46DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9B46DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46DA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46DA#FFFFFF#000000##FFFFFF
##9B46DA1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#1E71D7
Tritanopia (blue-blind)
#91678B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b46da;
/* rgb */ color: rgb(155, 70, 218);
/* oklch */ color: oklch(57.4% 0.218 307.1);
Tailwind
colors: {
  custom: {
    50: '#bd80e6',
    500: '#9b46da',
    950: '#000000',
  },
}
SCSS
$custom: #9b46da;
$custom-light: #bd80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46da",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 274.459,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57407,
    "c": 0.21841,
    "h": 307.1
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#9B46DA
secondary
#B9DCA0
accent
#EA3E87
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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