#9B46CA#9B46CA

#9B46CA is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.202 H 311.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9B46CA
RGBrgb(155, 70, 202)
HSLhsl(279, 55%, 53%)
HSVhsv(279, 65%, 79%)
CMYKcmyk(23.3%, 65.3%, 0%, 20.8%)
CIE-LABlab(46.46, 56.85, -53.95)
CIE-LCHlch(46.46, 78.38, 316.50°)
OKLaboklab(56.32% 0.1332 -0.1522)
OKLCHoklch(56.32% 0.202 311.2)
XYZxyz(26.3664, 15.6138, 57.4905)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46CA #75CA46
analogous
#5946CA #9B46CA #CA46B7
triadic
#9B46CA #CA9B46 #46CA9B
tetradic
#9B46CA #CA5946 #75CA46 #46B7CA
square
#9B46CA #CA5946 #75CA46 #46B7CA
split-complementary
#9B46CA #B7CA46 #46CA59
monochromatic
#572174 #7A2FA4 #9B46CA #B576D8 #CEA5E5

Accessibility & contrast

On white

5.09
#9B46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9B46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46CA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46CA#FFFFFF#000000##FFFFFF
##9B46CA1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#956182
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b46ca;
/* rgb */ color: rgb(155, 70, 202);
/* oklch */ color: oklch(56.3% 0.202 311.2);
Tailwind
colors: {
  custom: {
    50: '#bc7fdb',
    500: '#9b46ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b46ca;
$custom-light: #bc7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46ca",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 278.636,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56324,
    "c": 0.20225,
    "h": 311.2
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#9B46CA
secondary
#AED29A
accent
#DF497E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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