#9D4CEB#9D4CEB

#9D4CEB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.5% C 0.229 H 303.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9D4CEB
RGBrgb(157, 76, 235)
HSLhsl(271, 80%, 61%)
HSVhsv(271, 68%, 92%)
CMYKcmyk(33.2%, 67.7%, 0%, 7.8%)
CIE-LABlab(49.90, 61.89, -67.20)
CIE-LCHlch(49.90, 91.36, 312.65°)
OKLaboklab(59.54% 0.1261 -0.191)
OKLCHoklch(59.54% 0.229 303.4)
XYZxyz(31.4810, 18.3352, 80.4617)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CEB #9AEB4C
analogous
#4D4CEB #9D4CEB #EB4CE9
triadic
#9D4CEB #EB9D4C #4CEB9D
tetradic
#9D4CEB #EB4D4C #9AEB4C #4CE9EB
square
#9D4CEB #EB4D4C #9AEB4C #4CE9EB
split-complementary
#9D4CEB #E9EB4C #4CEB4D
monochromatic
#6013AA #7F19E1 #9D4CEB #BB83F1 #D9BAF7

Accessibility & contrast

On white

4.50
#9D4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9D4CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4CEB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CEB#FFFFFF#000000##000000
##9D4CEB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#8E7096
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d4ceb;
/* rgb */ color: rgb(157, 76, 235);
/* oklch */ color: oklch(59.5% 0.229 303.4);
Tailwind
colors: {
  custom: {
    50: '#bf84f2',
    500: '#9d4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ceb;
$custom-light: #bf84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ceb",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 270.566,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59538,
    "c": 0.22891,
    "h": 303.4
  },
  "luminance": 0.18335
}

Semantic roles & 50–950 ramp

primary
#9D4CEB
secondary
#C9E7AB
accent
#DC0971
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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