#9D4CE8#9D4CE8

#9D4CE8 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.226 H 304.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9D4CE8
RGBrgb(157, 76, 232)
HSLhsl(271, 77%, 60%)
HSVhsv(271, 67%, 91%)
CMYKcmyk(32.3%, 67.2%, 0%, 9%)
CIE-LABlab(49.69, 61.20, -65.84)
CIE-LCHlch(49.69, 89.89, 312.91°)
OKLaboklab(59.33% 0.1265 -0.1871)
OKLCHoklch(59.33% 0.226 304.1)
XYZxyz(31.0512, 18.1633, 78.1983)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CE8 #97E84C
analogous
#4F4CE8 #9D4CE8 #E84CE5
triadic
#9D4CE8 #E89D4C #4CE89D
tetradic
#9D4CE8 #E84F4C #97E84C #4CE5E8
square
#9D4CE8 #E84F4C #97E84C #4CE5E8
split-complementary
#9D4CE8 #E5E84C #4CE84F
monochromatic
#6015A4 #7F1CDB #9D4CE8 #BB82EF #D8B8F6

Accessibility & contrast

On white

4.53
#9D4CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9D4CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4CE8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CE8#FFFFFF#000000##000000
##9D4CE81.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0776E5
Tritanopia (blue-blind)
#8F6F94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d4ce8;
/* rgb */ color: rgb(157, 76, 232);
/* oklch */ color: oklch(59.3% 0.226 304.1);
Tailwind
colors: {
  custom: {
    50: '#bf84f0',
    500: '#9d4ce8',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ce8;
$custom-light: #bf84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ce8",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 232
  },
  "hsl": {
    "h": 271.154,
    "s": 77.228,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59325,
    "c": 0.22581,
    "h": 304.1
  },
  "luminance": 0.18163
}

Semantic roles & 50–950 ramp

primary
#9D4CE8
secondary
#C7E6AA
accent
#D90C6F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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