#9B46CE#9B46CE

#9B46CE is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.206 H 310.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9B46CE
RGBrgb(155, 70, 206)
HSLhsl(278, 58%, 54%)
HSVhsv(278, 66%, 81%)
CMYKcmyk(24.8%, 66%, 0%, 19.2%)
CIE-LABlab(46.72, 57.72, -55.85)
CIE-LCHlch(46.72, 80.32, 315.94°)
OKLaboklab(56.59% 0.1329 -0.1577)
OKLCHoklch(56.59% 0.206 310.1)
XYZxyz(26.8462, 15.8057, 60.0171)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46CE #79CE46
analogous
#5746CE #9B46CE #CE46BD
triadic
#9B46CE #CE9B46 #46CE9B
tetradic
#9B46CE #CE5746 #79CE46 #46BDCE
square
#9B46CE #CE5746 #79CE46 #46BDCE
split-complementary
#9B46CE #BDCE46 #46CE57
monochromatic
#582079 #7B2DAA #9B46CE #B576DB #CFA7E8

Accessibility & contrast

On white

5.05
#9B46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9B46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46CE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46CE#FFFFFF#000000##FFFFFF
##9B46CE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#946284
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b46ce;
/* rgb */ color: rgb(155, 70, 206);
/* oklch */ color: oklch(56.6% 0.206 310.1);
Tailwind
colors: {
  custom: {
    50: '#bc7fde',
    500: '#9b46ce',
    950: '#000000',
  },
}
SCSS
$custom: #9b46ce;
$custom-light: #bc7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46ce",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 277.5,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.20628,
    "h": 310.1
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#9B46CE
secondary
#B1D59B
accent
#E14681
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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