#9C46EF#9C46EF

#9C46EF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.0% C 0.240 H 302.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9C46EF
RGBrgb(156, 70, 239)
HSLhsl(271, 84%, 61%)
HSVhsv(271, 71%, 94%)
CMYKcmyk(34.7%, 70.7%, 0%, 6.3%)
CIE-LABlab(49.11, 65.30, -70.74)
CIE-LCHlch(49.11, 96.27, 312.71°)
OKLaboklab(59.04% 0.1301 -0.2015)
OKLCHoklch(59.04% 0.24 302.8)
XYZxyz(31.4768, 17.6802, 83.3989)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46EF #99EF46
analogous
#4746EF #9C46EF #EF46ED
triadic
#9C46EF #EF9C46 #46EF9C
tetradic
#9C46EF #EF4746 #99EF46 #46EDEF
square
#9C46EF #EF4746 #99EF46 #46EDEF
split-complementary
#9C46EF #EDEF46 #46EF47
monochromatic
#5F0FAC #7E14E4 #9C46EF #BA7EF4 #D8B7F9

Accessibility & contrast

On white

4.63
#9C46EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9C46EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46EF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46EF#FFFFFF#000000##FFFFFF
##9C46EF1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#8B6F96
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c46ef;
/* rgb */ color: rgb(156, 70, 239);
/* oklch */ color: oklch(59.0% 0.240 302.8);
Tailwind
colors: {
  custom: {
    50: '#bf80f5',
    500: '#9c46ef',
    950: '#000000',
  },
}
SCSS
$custom: #9c46ef;
$custom-light: #bf80f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46ef",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 270.533,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59035,
    "c": 0.23981,
    "h": 302.8
  },
  "luminance": 0.1768
}

Semantic roles & 50–950 ramp

primary
#9C46EF
secondary
#C8E9A8
accent
#E10571
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C46EF

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

Preview Lab → · Contrast checker → · Palette generator →

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