#9B46D1#9B46D1

#9B46D1 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.209 H 309.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9B46D1
RGBrgb(155, 70, 209)
HSLhsl(277, 60%, 55%)
HSVhsv(277, 67%, 82%)
CMYKcmyk(25.8%, 66.5%, 0%, 18%)
CIE-LABlab(46.91, 58.38, -57.26)
CIE-LCHlch(46.91, 81.77, 315.55°)
OKLaboklab(56.79% 0.1327 -0.1619)
OKLCHoklch(56.79% 0.209 309.3)
XYZxyz(27.2141, 15.9528, 61.9548)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46D1 #7CD146
analogous
#5646D1 #9B46D1 #D146C1
triadic
#9B46D1 #D19B46 #46D19B
tetradic
#9B46D1 #D15646 #7CD146 #46C1D1
square
#9B46D1 #D15646 #7CD146 #46C1D1
split-complementary
#9B46D1 #C1D146 #46D156
monochromatic
#591F7D #7C2BAE #9B46D1 #B577DD #D0A8E9

Accessibility & contrast

On white

5.01
#9B46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9B46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46D1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46D1#FFFFFF#000000##FFFFFF
##9B46D11.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#2E70CE
Tritanopia (blue-blind)
#936386
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b46d1;
/* rgb */ color: rgb(155, 70, 209);
/* oklch */ color: oklch(56.8% 0.209 309.3);
Tailwind
colors: {
  custom: {
    50: '#bd7fe0',
    500: '#9b46d1',
    950: '#000000',
  },
}
SCSS
$custom: #9b46d1;
$custom-light: #bd7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46d1",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 276.691,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.20932,
    "h": 309.3
  },
  "luminance": 0.15952
}

Semantic roles & 50–950 ramp

primary
#9B46D1
secondary
#B3D79C
accent
#E34482
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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