#9D4CE4#9D4CE4

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

Color values

HEX#9D4CE4
RGBrgb(157, 76, 228)
HSLhsl(272, 74%, 60%)
HSVhsv(272, 67%, 89%)
CMYKcmyk(31.1%, 66.7%, 0%, 10.6%)
CIE-LABlab(49.42, 60.28, -64.02)
CIE-LCHlch(49.42, 87.94, 313.28°)
OKLaboklab(59.04% 0.1269 -0.1817)
OKLCHoklch(59.04% 0.222 304.9)
XYZxyz(30.4895, 17.9386, 75.2400)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CE4 #93E44C
analogous
#514CE4 #9D4CE4 #E44CDF
triadic
#9D4CE4 #E49D4C #4CE49D
tetradic
#9D4CE4 #E4514C #93E44C #4CDFE4
square
#9D4CE4 #E4514C #93E44C #4CDFE4
split-complementary
#9D4CE4 #DFE44C #4CE451
monochromatic
#5F189E #7F20D3 #9D4CE4 #BA81EC #D7B6F4

Accessibility & contrast

On white

4.58
#9D4CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9D4CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4CE4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CE4#FFFFFF#000000##000000
##9D4CE41.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#1876E1
Tritanopia (blue-blind)
#906E92
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4ce4;
/* rgb */ color: rgb(157, 76, 228);
/* oklch */ color: oklch(59.0% 0.222 304.9);
Tailwind
colors: {
  custom: {
    50: '#bf83ed',
    500: '#9d4ce4',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ce4;
$custom-light: #bf83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ce4",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 271.974,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59044,
    "c": 0.22167,
    "h": 304.9
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

primary
#9D4CE4
secondary
#C4E3A8
accent
#F0378E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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