#9B46D8#9B46D8

#9B46D8 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.216 H 307.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9B46D8
RGBrgb(155, 70, 216)
HSLhsl(275, 65%, 56%)
HSVhsv(275, 68%, 85%)
CMYKcmyk(28.2%, 67.6%, 0%, 15.3%)
CIE-LABlab(47.37, 59.92, -60.52)
CIE-LCHlch(47.37, 85.17, 314.71°)
OKLaboklab(57.27% 0.132 -0.1715)
OKLCHoklch(57.27% 0.216 307.6)
XYZxyz(28.0998, 16.3071, 66.6197)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46D8 #83D846
analogous
#5246D8 #9B46D8 #D846CC
triadic
#9B46D8 #D89B46 #46D89B
tetradic
#9B46D8 #D85246 #83D846 #46CCD8
square
#9B46D8 #D85246 #83D846 #46CCD8
split-complementary
#9B46D8 #CCD846 #46D852
monochromatic
#5B1C87 #7C27BA #9B46D8 #B679E3 #D2ABED

Accessibility & contrast

On white

4.93
#9B46D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9B46D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46D8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46D8#FFFFFF#000000##FFFFFF
##9B46D81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#2371D5
Tritanopia (blue-blind)
#91668A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b46d8;
/* rgb */ color: rgb(155, 70, 216);
/* oklch */ color: oklch(57.3% 0.216 307.6);
Tailwind
colors: {
  custom: {
    50: '#bd7fe5',
    500: '#9b46d8',
    950: '#000000',
  },
}
SCSS
$custom: #9b46d8;
$custom-light: #bd7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46d8",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 274.932,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.2164,
    "h": 307.6
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#9B46D8
secondary
#B8DB9F
accent
#E84086
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B46D8

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

Preview Lab → · Contrast checker → · Palette generator →

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