#9D46D0#9D46D0

#9D46D0 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.209 H 310.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9D46D0
RGBrgb(157, 70, 208)
HSLhsl(278, 59%, 55%)
HSVhsv(278, 66%, 82%)
CMYKcmyk(24.5%, 66.3%, 0%, 18.4%)
CIE-LABlab(47.11, 58.59, -56.36)
CIE-LCHlch(47.11, 81.29, 316.11°)
OKLaboklab(56.97% 0.1353 -0.1592)
OKLCHoklch(56.97% 0.209 310.4)
XYZxyz(27.4778, 16.1031, 61.3230)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46D0 #79D046
analogous
#5846D0 #9D46D0 #D046BE
triadic
#9D46D0 #D09D46 #46D09D
tetradic
#9D46D0 #D05846 #79D046 #46BED0
square
#9D46D0 #D05846 #79D046 #46BED0
split-complementary
#9D46D0 #BED046 #46D058
monochromatic
#5A207C #7D2CAD #9D46D0 #B777DC #D1A8E9

Accessibility & contrast

On white

4.98
#9D46D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9D46D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46D0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46D0#FFFFFF#000000##FFFFFF
##9D46D01.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#3371CD
Tritanopia (blue-blind)
#966385
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d46d0;
/* rgb */ color: rgb(157, 70, 208);
/* oklch */ color: oklch(57.0% 0.209 310.4);
Tailwind
colors: {
  custom: {
    50: '#be7fdf',
    500: '#9d46d0',
    950: '#000000',
  },
}
SCSS
$custom: #9d46d0;
$custom-light: #be7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46d0",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 208
  },
  "hsl": {
    "h": 277.826,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56966,
    "c": 0.20892,
    "h": 310.4
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

primary
#9D46D0
secondary
#B1D69C
accent
#E3457F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D46D0

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

Preview Lab → · Contrast checker → · Palette generator →

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