#9D4BED#9D4BED

#9D4BED is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.232 H 303.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9D4BED
RGBrgb(157, 75, 237)
HSLhsl(270, 82%, 61%)
HSVhsv(270, 68%, 93%)
CMYKcmyk(33.8%, 68.4%, 0%, 7.1%)
CIE-LABlab(49.88, 62.81, -68.36)
CIE-LCHlch(49.88, 92.83, 312.58°)
OKLaboklab(59.56% 0.1269 -0.1945)
OKLCHoklch(59.56% 0.232 303.1)
XYZxyz(31.7032, 18.3147, 81.9692)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BED #9BED4B
analogous
#4C4BED #9D4BED #ED4BEC
triadic
#9D4BED #ED9D4B #4BED9D
tetradic
#9D4BED #ED4C4B #9BED4B #4BECED
square
#9D4BED #ED4C4B #9BED4B #4BECED
split-complementary
#9D4BED #ECED4B #4BED4C
monochromatic
#6011AC #7F17E4 #9D4BED #BB83F3 #DABAF8

Accessibility & contrast

On white

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

On black

4.66
#9D4BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4BED
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BED#FFFFFF#000000##000000
##9D4BED1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#8D7197
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d4bed;
/* rgb */ color: rgb(157, 75, 237);
/* oklch */ color: oklch(59.6% 0.232 303.1);
Tailwind
colors: {
  custom: {
    50: '#c083f4',
    500: '#9d4bed',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bed;
$custom-light: #c083f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bed",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 237
  },
  "hsl": {
    "h": 270.37,
    "s": 81.818,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59564,
    "c": 0.23218,
    "h": 303.1
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#9D4BED
secondary
#CAE8AB
accent
#DE0771
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4BED

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

Preview Lab → · Contrast checker → · Palette generator →

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