#9D46DE#9D46DE

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

Color values

HEX#9D46DE
RGBrgb(157, 70, 222)
HSLhsl(274, 70%, 57%)
HSVhsv(274, 68%, 87%)
CMYKcmyk(29.3%, 68.5%, 0%, 12.9%)
CIE-LABlab(48.04, 61.66, -62.86)
CIE-LCHlch(48.04, 88.05, 314.45°)
OKLaboklab(57.92% 0.1339 -0.1783)
OKLCHoklch(57.92% 0.223 306.9)
XYZxyz(29.2768, 16.8227, 70.7979)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46DE #87DE46
analogous
#5146DE #9D46DE #DE46D3
triadic
#9D46DE #DE9D46 #46DE9D
tetradic
#9D46DE #DE5146 #87DE46 #46D3DE
square
#9D46DE #DE5146 #87DE46 #46D3DE
split-complementary
#9D46DE #D3DE46 #46DE51
monochromatic
#5D1A90 #7F23C4 #9D46DE #B97AE7 #D4AEF1

Accessibility & contrast

On white

4.81
#9D46DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9D46DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46DE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46DE#FFFFFF#000000##FFFFFF
##9D46DE1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#1A73DB
Tritanopia (blue-blind)
#92688D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d46de;
/* rgb */ color: rgb(157, 70, 222);
/* oklch */ color: oklch(57.9% 0.223 306.9);
Tailwind
colors: {
  custom: {
    50: '#bf80e9',
    500: '#9d46de',
    950: '#000000',
  },
}
SCSS
$custom: #9d46de;
$custom-light: #bf80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46de",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 274.342,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57924,
    "c": 0.22296,
    "h": 306.9
  },
  "luminance": 0.16822
}

Semantic roles & 50–950 ramp

primary
#9D46DE
secondary
#BBDFA1
accent
#ED3B87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D46DE

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

Preview Lab → · Contrast checker → · Palette generator →

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