#9D4FBC#9D4FBC

#9D4FBC is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.9% C 0.176 H 315.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9D4FBC
RGBrgb(157, 79, 188)
HSLhsl(283, 45%, 52%)
HSVhsv(283, 58%, 74%)
CMYKcmyk(16.5%, 58%, 0%, 26.3%)
CIE-LABlab(47.48, 50.00, -44.20)
CIE-LCHlch(47.48, 66.74, 318.53°)
OKLaboklab(56.85% 0.1249 -0.1236)
OKLCHoklch(56.85% 0.176 315.3)
XYZxyz(25.7763, 16.3917, 49.3733)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FBC #6EBC4F
analogous
#674FBC #9D4FBC #BC4FA4
triadic
#9D4FBC #BC9D4F #4FBC9D
tetradic
#9D4FBC #BC674F #6EBC4F #4FA4BC
square
#9D4FBC #BC674F #6EBC4F #4FA4BC
split-complementary
#9D4FBC #A4BC4F #4FBC67
monochromatic
#562869 #7B3995 #9D4FBC #B67BCD #CEA8DE

Accessibility & contrast

On white

4.91
#9D4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9D4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FBC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FBC#FFFFFF#000000##FFFFFF
##9D4FBC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#9B617E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d4fbc;
/* rgb */ color: rgb(157, 79, 188);
/* oklch */ color: oklch(56.9% 0.176 315.3);
Tailwind
colors: {
  custom: {
    50: '#bd84d1',
    500: '#9d4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fbc;
$custom-light: #bd84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fbc",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 282.936,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.17573,
    "h": 315.3
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#9D4FBC
secondary
#A9CB9C
accent
#D55378
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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