#9B46C8#9B46C8

#9B46C8 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.200 H 311.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9B46C8
RGBrgb(155, 70, 200)
HSLhsl(279, 54%, 53%)
HSVhsv(279, 65%, 78%)
CMYKcmyk(22.5%, 65%, 0%, 21.6%)
CIE-LABlab(46.34, 56.42, -53.00)
CIE-LCHlch(46.34, 77.41, 316.79°)
OKLaboklab(56.19% 0.1333 -0.1494)
OKLCHoklch(56.19% 0.2 311.7)
XYZxyz(26.1311, 15.5197, 56.2514)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46C8 #73C846
analogous
#5A46C8 #9B46C8 #C846B4
triadic
#9B46C8 #C89B46 #46C89B
tetradic
#9B46C8 #C85A46 #73C846 #46B4C8
square
#9B46C8 #C85A46 #73C846 #46B4C8
split-complementary
#9B46C8 #B4C846 #46C85A
monochromatic
#562272 #7A30A1 #9B46C8 #B575D6 #CEA4E4

Accessibility & contrast

On white

5.12
#9B46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9B46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46C8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46C8#FFFFFF#000000##FFFFFF
##9B46C81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#396FC5
Tritanopia (blue-blind)
#966081
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b46c8;
/* rgb */ color: rgb(155, 70, 200);
/* oklch */ color: oklch(56.2% 0.200 311.7);
Tailwind
colors: {
  custom: {
    50: '#bc7fd9',
    500: '#9b46c8',
    950: '#000000',
  },
}
SCSS
$custom: #9b46c8;
$custom-light: #bc7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46c8",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 279.231,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56193,
    "c": 0.20023,
    "h": 311.7
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#9B46C8
secondary
#ACD199
accent
#DE4A7D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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