#9D4BC2#9D4BC2

#9D4BC2 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.7% C 0.188 H 313.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9D4BC2
RGBrgb(157, 75, 194)
HSLhsl(281, 49%, 53%)
HSVhsv(281, 61%, 76%)
CMYKcmyk(19.1%, 61.3%, 0%, 23.9%)
CIE-LABlab(47.10, 53.24, -48.29)
CIE-LCHlch(47.10, 71.88, 317.79°)
OKLaboklab(56.68% 0.1301 -0.1356)
OKLCHoklch(56.68% 0.188 313.8)
XYZxyz(26.1567, 16.0961, 52.7575)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BC2 #70C24B
analogous
#624BC2 #9D4BC2 #C24BAB
triadic
#9D4BC2 #C29D4B #4BC29D
tetradic
#9D4BC2 #C2624B #70C24B #4BABC2
square
#9D4BC2 #C2624B #70C24B #4BABC2
split-complementary
#9D4BC2 #ABC24B #4BC262
monochromatic
#57256D #7B359B #9D4BC2 #B679D1 #CFA6E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D4BC2#FFFFFF#000000##FFFFFF
##9D4BC21.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)
#216BC6
Deuteranopia (green-blind)
#4672BF
Tritanopia (blue-blind)
#9A6180
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d4bc2;
/* rgb */ color: rgb(157, 75, 194);
/* oklch */ color: oklch(56.7% 0.188 313.8);
Tailwind
colors: {
  custom: {
    50: '#bd82d5',
    500: '#9d4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bc2;
$custom-light: #bd82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bc2",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 281.345,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.18787,
    "h": 313.8
  },
  "luminance": 0.16095
}

Semantic roles & 50–950 ramp

primary
#9D4BC2
secondary
#ABCE9B
accent
#D94F7A
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9D4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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