#9D4BE2#9D4BE2

#9D4BE2 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.8% C 0.221 H 305.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9D4BE2
RGBrgb(157, 75, 226)
HSLhsl(273, 72%, 59%)
HSVhsv(273, 67%, 89%)
CMYKcmyk(30.5%, 66.8%, 0%, 11.4%)
CIE-LABlab(49.12, 60.29, -63.38)
CIE-LCHlch(49.12, 87.48, 313.57°)
OKLaboklab(58.79% 0.1282 -0.1798)
OKLCHoklch(58.79% 0.221 305.5)
XYZxyz(30.1452, 17.6915, 73.7635)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BE2 #90E24B
analogous
#524BE2 #9D4BE2 #E24BDB
triadic
#9D4BE2 #E29D4B #4BE29D
tetradic
#9D4BE2 #E2524B #90E24B #4BDBE2
square
#9D4BE2 #E2524B #90E24B #4BDBE2
split-complementary
#9D4BE2 #DBE24B #4BE252
monochromatic
#5F199A #7F21CF #9D4BE2 #BA80EA #D6B4F3

Accessibility & contrast

On white

4.63
#9D4BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9D4BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BE2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BE2#FFFFFF#000000##FFFFFF
##9D4BE21.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#1B75DF
Tritanopia (blue-blind)
#916C91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4be2;
/* rgb */ color: rgb(157, 75, 226);
/* oklch */ color: oklch(58.8% 0.221 305.5);
Tailwind
colors: {
  custom: {
    50: '#bf83ec',
    500: '#9d4be2',
    950: '#000000',
  },
}
SCSS
$custom: #9d4be2;
$custom-light: #bf83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4be2",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 272.583,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58785,
    "c": 0.22085,
    "h": 305.5
  },
  "luminance": 0.17691
}

Semantic roles & 50–950 ramp

primary
#9D4BE2
secondary
#C2E2A7
accent
#EF398C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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