#9D4BCD#9D4BCD

#9D4BCD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.4% C 0.199 H 310.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9D4BCD
RGBrgb(157, 75, 205)
HSLhsl(278, 57%, 55%)
HSVhsv(278, 63%, 80%)
CMYKcmyk(23.4%, 63.4%, 0%, 19.6%)
CIE-LABlab(47.76, 55.61, -53.58)
CIE-LCHlch(47.76, 77.22, 316.07°)
OKLaboklab(57.38% 0.1298 -0.151)
OKLCHoklch(57.38% 0.199 310.7)
XYZxyz(27.4381, 16.6086, 59.5061)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BCD #7BCD4B
analogous
#5C4BCD #9D4BCD #CD4BBC
triadic
#9D4BCD #CD9D4B #4BCD9D
tetradic
#9D4BCD #CD5C4B #7BCD4B #4BBCCD
square
#9D4BCD #CD5C4B #7BCD4B #4BBCCD
split-complementary
#9D4BCD #BCCD4B #4BCD5C
monochromatic
#5A227B #7E30AB #9D4BCD #B77BDA #D1ABE8

Accessibility & contrast

On white

4.86
#9D4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9D4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BCD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BCD#FFFFFF#000000##FFFFFF
##9D4BCD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016ED1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#976585
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d4bcd;
/* rgb */ color: rgb(157, 75, 205);
/* oklch */ color: oklch(57.4% 0.199 310.7);
Tailwind
colors: {
  custom: {
    50: '#be82dd',
    500: '#9d4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bcd;
$custom-light: #be82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bcd",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 277.846,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57376,
    "c": 0.19918,
    "h": 310.7
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#9D4BCD
secondary
#B3D59F
accent
#E04880
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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