#9C46E1#9C46E1

#9C46E1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.226 H 305.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9C46E1
RGBrgb(156, 70, 225)
HSLhsl(273, 72%, 58%)
HSVhsv(273, 69%, 88%)
CMYKcmyk(30.7%, 68.9%, 0%, 11.8%)
CIE-LABlab(48.11, 62.13, -64.44)
CIE-LCHlch(48.11, 89.52, 313.95°)
OKLaboklab(58.02% 0.1322 -0.183)
OKLCHoklch(58.02% 0.226 305.9)
XYZxyz(29.4881, 16.8847, 72.9252)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46E1 #8BE146
analogous
#4E46E1 #9C46E1 #E146D9
triadic
#9C46E1 #E19C46 #46E19C
tetradic
#9C46E1 #E14E46 #8BE146 #46D9E1
square
#9C46E1 #E14E46 #8BE146 #46D9E1
split-complementary
#9C46E1 #D9E146 #46E14E
monochromatic
#5D1895 #7E21C9 #9C46E1 #B87BEA #D4AFF2

Accessibility & contrast

On white

4.80
#9C46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9C46E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46E1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46E1#FFFFFF#000000##FFFFFF
##9C46E11.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0A73DE
Tritanopia (blue-blind)
#90698F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c46e1;
/* rgb */ color: rgb(156, 70, 225);
/* oklch */ color: oklch(58.0% 0.226 305.9);
Tailwind
colors: {
  custom: {
    50: '#be80eb',
    500: '#9c46e1',
    950: '#000000',
  },
}
SCSS
$custom: #9c46e1;
$custom-light: #be80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46e1",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 273.29,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58018,
    "c": 0.22574,
    "h": 305.9
  },
  "luminance": 0.16884
}

Semantic roles & 50–950 ramp

primary
#9C46E1
secondary
#BEE0A2
accent
#EF398A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C46E1

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

Preview Lab → · Contrast checker → · Palette generator →

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