#9D4AE6#9D4AE6

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

Color values

HEX#9D4AE6
RGBrgb(157, 74, 230)
HSLhsl(272, 76%, 60%)
HSVhsv(272, 68%, 90%)
CMYKcmyk(31.7%, 67.8%, 0%, 9.8%)
CIE-LABlab(49.23, 61.66, -65.47)
CIE-LCHlch(49.23, 89.93, 313.28°)
OKLaboklab(58.95% 0.1288 -0.186)
OKLCHoklch(58.95% 0.226 304.7)
XYZxyz(30.6331, 17.7790, 76.6654)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4AE6 #93E64A
analogous
#4F4AE6 #9D4AE6 #E64AE1
triadic
#9D4AE6 #E69D4A #4AE69D
tetradic
#9D4AE6 #E64F4A #93E64A #4AE1E6
square
#9D4AE6 #E64F4A #93E64A #4AE1E6
split-complementary
#9D4AE6 #E1E64A #4AE64F
monochromatic
#5F16A0 #7F1DD5 #9D4AE6 #BA80ED #D7B6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D4AE6#FFFFFF#000000##FFFFFF
##9D4AE61.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)
#0073EB
Deuteranopia (green-blind)
#0875E3
Tritanopia (blue-blind)
#8F6D92
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4ae6;
/* rgb */ color: rgb(157, 74, 230);
/* oklch */ color: oklch(58.9% 0.226 304.7);
Tailwind
colors: {
  custom: {
    50: '#bf82ef',
    500: '#9d4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ae6;
$custom-light: #bf82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ae6",
  "rgb": {
    "r": 157,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 271.923,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58948,
    "c": 0.2262,
    "h": 304.7
  },
  "luminance": 0.17779
}

Semantic roles & 50–950 ramp

primary
#9D4AE6
secondary
#C4E4A8
accent
#F2358E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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