#9D4BC9#9D4BC9

#9D4BC9 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.1% C 0.195 H 311.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9D4BC9
RGBrgb(157, 75, 201)
HSLhsl(279, 54%, 54%)
HSVhsv(279, 63%, 79%)
CMYKcmyk(21.9%, 62.7%, 0%, 21.2%)
CIE-LABlab(47.52, 54.74, -51.67)
CIE-LCHlch(47.52, 75.28, 316.65°)
OKLaboklab(57.12% 0.13 -0.1454)
OKLCHoklch(57.12% 0.195 311.8)
XYZxyz(26.9614, 16.4180, 56.9957)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BC9 #77C94B
analogous
#5E4BC9 #9D4BC9 #C94BB6
triadic
#9D4BC9 #C99D4B #4BC99D
tetradic
#9D4BC9 #C95E4B #77C94B #4BB6C9
square
#9D4BC9 #C95E4B #77C94B #4BB6C9
split-complementary
#9D4BC9 #B6C94B #4BC95E
monochromatic
#592376 #7D32A5 #9D4BC9 #B77AD7 #D0A9E5

Accessibility & contrast

On white

4.90
#9D4BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D4BC9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BC9#FFFFFF#000000##FFFFFF
##9D4BC91.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116DCD
Deuteranopia (green-blind)
#4072C6
Tritanopia (blue-blind)
#986383
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d4bc9;
/* rgb */ color: rgb(157, 75, 201);
/* oklch */ color: oklch(57.1% 0.195 311.8);
Tailwind
colors: {
  custom: {
    50: '#bd82da',
    500: '#9d4bc9',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bc9;
$custom-light: #bd82da;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bc9",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 279.048,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.19506,
    "h": 311.8
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

primary
#9D4BC9
secondary
#B0D39D
accent
#DD4B7E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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