#9D4EEB#9D4EEB

#9D4EEB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.8% C 0.226 H 303.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9D4EEB
RGBrgb(157, 78, 235)
HSLhsl(270, 80%, 61%)
HSVhsv(270, 67%, 92%)
CMYKcmyk(33.2%, 66.8%, 0%, 7.8%)
CIE-LABlab(50.23, 60.97, -66.66)
CIE-LCHlch(50.23, 90.33, 312.45°)
OKLaboklab(59.78% 0.124 -0.1895)
OKLCHoklch(59.78% 0.226 303.2)
XYZxyz(31.6209, 18.6151, 80.5083)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4EEB #9CEB4E
analogous
#4F4EEB #9D4EEB #EB4EEB
triadic
#9D4EEB #EB9D4E #4EEB9D
tetradic
#9D4EEB #EB4F4E #9CEB4E #4EEBEB
square
#9D4EEB #EB4F4E #9CEB4E #4EEBEB
split-complementary
#9D4EEB #EBEB4E #4EEB4F
monochromatic
#6013AB #7F1AE2 #9D4EEB #BB85F1 #DABCF7

Accessibility & contrast

On white

4.45
#9D4EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9D4EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4EEB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4EEB#FFFFFF#000000##000000
##9D4EEB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#8E7296
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d4eeb;
/* rgb */ color: rgb(157, 78, 235);
/* oklch */ color: oklch(59.8% 0.226 303.2);
Tailwind
colors: {
  custom: {
    50: '#bf85f2',
    500: '#9d4eeb',
    950: '#000000',
  },
}
SCSS
$custom: #9d4eeb;
$custom-light: #bf85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4eeb",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 270.191,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.22646,
    "h": 303.2
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

primary
#9D4EEB
secondary
#CAE8AD
accent
#DC0972
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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