#9D46DD#9D46DD

#9D46DD is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.222 H 307.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9D46DD
RGBrgb(157, 70, 221)
HSLhsl(275, 69%, 57%)
HSVhsv(275, 68%, 87%)
CMYKcmyk(29%, 68.3%, 0%, 13.3%)
CIE-LABlab(47.97, 61.44, -62.40)
CIE-LCHlch(47.97, 87.57, 314.55°)
OKLaboklab(57.85% 0.134 -0.1769)
OKLCHoklch(57.85% 0.222 307.1)
XYZxyz(29.1432, 16.7692, 70.0941)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46DD #86DD46
analogous
#5246DD #9D46DD #DD46D1
triadic
#9D46DD #DD9D46 #46DD9D
tetradic
#9D46DD #DD5246 #86DD46 #46D1DD
square
#9D46DD #DD5246 #86DD46 #46D1DD
split-complementary
#9D46DD #D1DD46 #46DD52
monochromatic
#5D1A8E #7F24C2 #9D46DD #B87AE7 #D4ADF0

Accessibility & contrast

On white

4.82
#9D46DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9D46DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46DD#FFFFFF#000000##FFFFFF
##9D46DD1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#1C73DA
Tritanopia (blue-blind)
#92688C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d46dd;
/* rgb */ color: rgb(157, 70, 221);
/* oklch */ color: oklch(57.9% 0.222 307.1);
Tailwind
colors: {
  custom: {
    50: '#bf80e8',
    500: '#9d46dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d46dd;
$custom-light: #bf80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46dd",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 274.57,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57854,
    "c": 0.22196,
    "h": 307.1
  },
  "luminance": 0.16769
}

Semantic roles & 50–950 ramp

primary
#9D46DD
secondary
#BBDEA1
accent
#EC3C87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D46DD

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

Preview Lab → · Contrast checker → · Palette generator →

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