#9D4DCB#9D4DCB

#9D4DCB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.5% C 0.194 H 311.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9D4DCB
RGBrgb(157, 77, 203)
HSLhsl(278, 55%, 55%)
HSVhsv(278, 62%, 80%)
CMYKcmyk(22.7%, 62.1%, 0%, 20.4%)
CIE-LABlab(47.99, 54.21, -52.06)
CIE-LCHlch(47.99, 75.16, 316.16°)
OKLaboklab(57.5% 0.1275 -0.1466)
OKLCHoklch(57.5% 0.194 311)
XYZxyz(27.3360, 16.7883, 58.2888)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DCB #7BCB4D
analogous
#5E4DCB #9D4DCB #CB4DBA
triadic
#9D4DCB #CB9D4D #4DCB9D
tetradic
#9D4DCB #CB5E4D #7BCB4D #4DBACB
square
#9D4DCB #CB5E4D #7BCB4D #4DBACB
split-complementary
#9D4DCB #BACB4D #4DCB5E
monochromatic
#5A247A #7E31A9 #9D4DCB #B77CD9 #D1ACE7

Accessibility & contrast

On white

4.82
#9D4DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9D4DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4DCB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4DCB#FFFFFF#000000##FFFFFF
##9D4DCB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146ECF
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#976585
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4dcb;
/* rgb */ color: rgb(157, 77, 203);
/* oklch */ color: oklch(57.5% 0.194 311.0);
Tailwind
colors: {
  custom: {
    50: '#bd83db',
    500: '#9d4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #9d4dcb;
$custom-light: #bd83db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4dcb",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 278.095,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57503,
    "c": 0.19431,
    "h": 311
  },
  "luminance": 0.16788
}

Semantic roles & 50–950 ramp

primary
#9D4DCB
secondary
#B3D49F
accent
#DE4A80
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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