#9D4ABC#9D4ABC

#9D4ABC is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.2% C 0.183 H 315.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9D4ABC
RGBrgb(157, 74, 188)
HSLhsl(284, 46%, 51%)
HSVhsv(284, 61%, 74%)
CMYKcmyk(16.5%, 60.6%, 0%, 26.3%)
CIE-LABlab(46.58, 52.46, -45.64)
CIE-LCHlch(46.58, 69.54, 318.97°)
OKLaboklab(56.19% 0.1313 -0.1278)
OKLCHoklch(56.19% 0.183 315.8)
XYZxyz(25.4291, 15.6974, 49.2576)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4ABC #69BC4A
analogous
#644ABC #9D4ABC #BC4AA2
triadic
#9D4ABC #BC9D4A #4ABC9D
tetradic
#9D4ABC #BC644A #69BC4A #4AA2BC
square
#9D4ABC #BC644A #69BC4A #4AA2BC
split-complementary
#9D4ABC #A2BC4A #4ABC64
monochromatic
#542666 #793693 #9D4ABC #B577CD #CDA3DD

Accessibility & contrast

On white

5.07
#9D4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9D4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4ABC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4ABC#FFFFFF#000000##FFFFFF
##9D4ABC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769C0
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#9B5E7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d4abc;
/* rgb */ color: rgb(157, 74, 188);
/* oklch */ color: oklch(56.2% 0.183 315.8);
Tailwind
colors: {
  custom: {
    50: '#bd81d1',
    500: '#9d4abc',
    950: '#000000',
  },
}
SCSS
$custom: #9d4abc;
$custom-light: #bd81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4abc",
  "rgb": {
    "r": 157,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 283.684,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.18322,
    "h": 315.8
  },
  "luminance": 0.15696
}

Semantic roles & 50–950 ramp

primary
#9D4ABC
secondary
#A5CA98
accent
#D65276
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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