#9D4CE3#9D4CE3

#9D4CE3 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.221 H 305.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9D4CE3
RGBrgb(157, 76, 227)
HSLhsl(272, 73%, 59%)
HSVhsv(272, 67%, 89%)
CMYKcmyk(30.8%, 66.5%, 0%, 11%)
CIE-LABlab(49.35, 60.06, -63.57)
CIE-LCHlch(49.35, 87.45, 313.37°)
OKLaboklab(58.97% 0.1271 -0.1804)
OKLCHoklch(58.97% 0.221 305.2)
XYZxyz(30.3511, 17.8832, 74.5110)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CE3 #92E34C
analogous
#514CE3 #9D4CE3 #E34CDE
triadic
#9D4CE3 #E39D4C #4CE39D
tetradic
#9D4CE3 #E3514C #92E34C #4CDEE3
square
#9D4CE3 #E3514C #92E34C #4CDEE3
split-complementary
#9D4CE3 #DEE34C #4CE351
monochromatic
#5F189C #7F21D1 #9D4CE3 #BA81EB #D7B6F4

Accessibility & contrast

On white

4.59
#9D4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9D4CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CE3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CE3#FFFFFF#000000##FFFFFF
##9D4CE31.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#1B75E0
Tritanopia (blue-blind)
#906D91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4ce3;
/* rgb */ color: rgb(157, 76, 227);
/* oklch */ color: oklch(59.0% 0.221 305.2);
Tailwind
colors: {
  custom: {
    50: '#bf83ed',
    500: '#9d4ce3',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ce3;
$custom-light: #bf83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ce3",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 272.185,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58974,
    "c": 0.22063,
    "h": 305.2
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#9D4CE3
secondary
#C3E3A8
accent
#F0388D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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