#9D4FA2#9D4FA2

#9D4FA2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.4% C 0.149 H 325.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9D4FA2
RGBrgb(157, 79, 162)
HSLhsl(296, 34%, 47%)
HSVhsv(296, 51%, 64%)
CMYKcmyk(3.1%, 51.2%, 0%, 36.5%)
CIE-LABlab(46.14, 44.74, -31.06)
CIE-LCHlch(46.14, 54.47, 325.23°)
OKLaboklab(55.43% 0.1225 -0.0855)
OKLCHoklch(55.43% 0.149 325.1)
XYZxyz(23.2217, 15.3699, 35.9189)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FA2 #54A24F
analogous
#744FA2 #9D4FA2 #A24F7D
triadic
#9D4FA2 #A29D4F #4FA29D
tetradic
#9D4FA2 #A2744F #54A24F #4F7DA2
square
#9D4FA2 #A2744F #54A24F #4F7DA2
split-complementary
#9D4FA2 #7DA24F #4FA274
monochromatic
#4D2750 #753B79 #9D4FA2 #B773BB #CC9CCF

Accessibility & contrast

On white

5.15
#9D4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9D4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FA2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FA2#FFFFFF#000000##FFFFFF
##9D4FA21.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#A05971
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d4fa2;
/* rgb */ color: rgb(157, 79, 162);
/* oklch */ color: oklch(55.4% 0.149 325.1);
Tailwind
colors: {
  custom: {
    50: '#bc84be',
    500: '#9d4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fa2;
$custom-light: #bc84be;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fa2",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 296.386,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55425,
    "c": 0.14938,
    "h": 325.1
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#9D4FA2
secondary
#94BC91
accent
#CB5D64
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #9D4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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