#9B46E2#9B46E2

#9B46E2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 58.0% C 0.227 H 305.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9B46E2
RGBrgb(155, 70, 226)
HSLhsl(273, 73%, 58%)
HSVhsv(273, 69%, 89%)
CMYKcmyk(31.4%, 69%, 0%, 11.4%)
CIE-LABlab(48.06, 62.16, -65.11)
CIE-LCHlch(48.06, 90.02, 313.67°)
OKLaboklab(57.97% 0.1308 -0.1849)
OKLCHoklch(57.97% 0.227 305.3)
XYZxyz(29.4321, 16.8401, 73.6367)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46E2 #8DE246
analogous
#4D46E2 #9B46E2 #E246DB
triadic
#9B46E2 #E29B46 #46E29B
tetradic
#9B46E2 #E24D46 #8DE246 #46DBE2
square
#9B46E2 #E24D46 #8DE246 #46DBE2
split-complementary
#9B46E2 #DBE246 #46E24D
monochromatic
#5C1896 #7D20CB #9B46E2 #B87BEA #D4B0F3

Accessibility & contrast

On white

4.81
#9B46E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9B46E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46E2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46E2#FFFFFF#000000##FFFFFF
##9B46E21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#8E6A8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b46e2;
/* rgb */ color: rgb(155, 70, 226);
/* oklch */ color: oklch(58.0% 0.227 305.3);
Tailwind
colors: {
  custom: {
    50: '#be80ec',
    500: '#9b46e2',
    950: '#000000',
  },
}
SCSS
$custom: #9b46e2;
$custom-light: #be80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46e2",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 272.692,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.22651,
    "h": 305.3
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#9B46E2
secondary
#BFE1A3
accent
#F0388C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B46E2

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

Preview Lab → · Contrast checker → · Palette generator →

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