#9D4CE5#9D4CE5

#9D4CE5 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.1% C 0.223 H 304.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9D4CE5
RGBrgb(157, 76, 229)
HSLhsl(272, 75%, 60%)
HSVhsv(272, 67%, 90%)
CMYKcmyk(31.4%, 66.8%, 0%, 10.2%)
CIE-LABlab(49.49, 60.51, -64.48)
CIE-LCHlch(49.49, 88.43, 313.18°)
OKLaboklab(59.11% 0.1268 -0.1831)
OKLCHoklch(59.11% 0.223 304.7)
XYZxyz(30.6288, 17.9943, 75.9732)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CE5 #94E54C
analogous
#514CE5 #9D4CE5 #E54CE0
triadic
#9D4CE5 #E59D4C #4CE59D
tetradic
#9D4CE5 #E5514C #94E54C #4CE0E5
square
#9D4CE5 #E5514C #94E54C #4CE0E5
split-complementary
#9D4CE5 #E0E54C #4CE551
monochromatic
#5F179F #7F1FD5 #9D4CE5 #BA81ED #D8B7F5

Accessibility & contrast

On white

4.57
#9D4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9D4CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4CE5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CE5#FFFFFF#000000##000000
##9D4CE51.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#1576E2
Tritanopia (blue-blind)
#906E93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d4ce5;
/* rgb */ color: rgb(157, 76, 229);
/* oklch */ color: oklch(59.1% 0.223 304.7);
Tailwind
colors: {
  custom: {
    50: '#bf83ee',
    500: '#9d4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ce5;
$custom-light: #bf83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ce5",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 271.765,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59114,
    "c": 0.2227,
    "h": 304.7
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#9D4CE5
secondary
#C5E4A9
accent
#F1378E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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