#9D46DF#9D46DF

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

Color values

HEX#9D46DF
RGBrgb(157, 70, 223)
HSLhsl(274, 71%, 57%)
HSVhsv(274, 69%, 87%)
CMYKcmyk(29.6%, 68.6%, 0%, 12.5%)
CIE-LABlab(48.10, 61.88, -63.32)
CIE-LCHlch(48.10, 88.54, 314.34°)
OKLaboklab(57.99% 0.1338 -0.1796)
OKLCHoklch(57.99% 0.224 306.7)
XYZxyz(29.4112, 16.8764, 71.5058)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46DF #88DF46
analogous
#5146DF #9D46DF #DF46D4
triadic
#9D46DF #DF9D46 #46DF9D
tetradic
#9D46DF #DF5146 #88DF46 #46D4DF
square
#9D46DF #DF5146 #88DF46 #46D4DF
split-complementary
#9D46DF #D4DF46 #46DF51
monochromatic
#5E1991 #7F22C6 #9D46DF #B97AE8 #D4AEF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D46DF#FFFFFF#000000##FFFFFF
##9D46DF1.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)
#006FE4
Deuteranopia (green-blind)
#1773DC
Tritanopia (blue-blind)
#92688D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d46df;
/* rgb */ color: rgb(157, 70, 223);
/* oklch */ color: oklch(58.0% 0.224 306.7);
Tailwind
colors: {
  custom: {
    50: '#bf80ea',
    500: '#9d46df',
    950: '#000000',
  },
}
SCSS
$custom: #9d46df;
$custom-light: #bf80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46df",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 274.118,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.22397,
    "h": 306.7
  },
  "luminance": 0.16876
}

Semantic roles & 50–950 ramp

primary
#9D46DF
secondary
#BCDFA2
accent
#ED3B88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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