#9D4CCE#9D4CCE

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

Color values

HEX#9D4CCE
RGBrgb(157, 76, 206)
HSLhsl(277, 57%, 55%)
HSVhsv(277, 63%, 81%)
CMYKcmyk(23.8%, 63.1%, 0%, 19.2%)
CIE-LABlab(48.00, 55.35, -53.78)
CIE-LCHlch(48.00, 77.17, 315.83°)
OKLaboklab(57.57% 0.1286 -0.1516)
OKLCHoklch(57.57% 0.199 310.3)
XYZxyz(27.6275, 16.7938, 60.1667)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CCE #7DCE4C
analogous
#5C4CCE #9D4CCE #CE4CBE
triadic
#9D4CCE #CE9D4C #4CCE9D
tetradic
#9D4CCE #CE5C4C #7DCE4C #4CBECE
square
#9D4CCE #CE5C4C #7DCE4C #4CBECE
split-complementary
#9D4CCE #BECE4C #4CCE5C
monochromatic
#5B227D #7E2FAD #9D4CCE #B77CDB #D2ACE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D4CCE#FFFFFF#000000##FFFFFF
##9D4CCE1.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)
#036ED2
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#976686
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4cce;
/* rgb */ color: rgb(157, 76, 206);
/* oklch */ color: oklch(57.6% 0.199 310.3);
Tailwind
colors: {
  custom: {
    50: '#be83de',
    500: '#9d4cce',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cce;
$custom-light: #be83de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cce",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 277.385,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57567,
    "c": 0.19883,
    "h": 310.3
  },
  "luminance": 0.16793
}

Semantic roles & 50–950 ramp

primary
#9D4CCE
secondary
#B4D6A0
accent
#E04881
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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