#9D46EF#9D46EF

#9D46EF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.1% C 0.240 H 303.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9D46EF
RGBrgb(157, 70, 239)
HSLhsl(271, 84%, 61%)
HSVhsv(271, 71%, 94%)
CMYKcmyk(34.3%, 70.7%, 0%, 6.3%)
CIE-LABlab(49.23, 65.48, -70.53)
CIE-LCHlch(49.23, 96.24, 312.87°)
OKLaboklab(59.15% 0.1314 -0.2008)
OKLCHoklch(59.15% 0.24 303.2)
XYZxyz(31.6711, 17.7804, 83.4081)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46EF #98EF46
analogous
#4846EF #9D46EF #EF46EC
triadic
#9D46EF #EF9D46 #46EF9D
tetradic
#9D46EF #EF4846 #98EF46 #46ECEF
square
#9D46EF #EF4846 #98EF46 #46ECEF
split-complementary
#9D46EF #ECEF46 #46EF48
monochromatic
#600FAC #7F14E4 #9D46EF #BB7EF4 #D9B7F9

Accessibility & contrast

On white

4.61
#9D46EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9D46EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46EF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46EF#FFFFFF#000000##FFFFFF
##9D46EF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d46ef;
/* rgb */ color: rgb(157, 70, 239);
/* oklch */ color: oklch(59.1% 0.240 303.2);
Tailwind
colors: {
  custom: {
    50: '#c080f5',
    500: '#9d46ef',
    950: '#000000',
  },
}
SCSS
$custom: #9d46ef;
$custom-light: #c080f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46ef",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 270.888,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.24,
    "h": 303.2
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#9D46EF
secondary
#C7E9A8
accent
#E10570
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D46EF

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

Preview Lab → · Contrast checker → · Palette generator →

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