#9D4BE6#9D4BE6

#9D4BE6 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.1% C 0.225 H 304.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9D4BE6
RGBrgb(157, 75, 230)
HSLhsl(272, 76%, 60%)
HSVhsv(272, 67%, 90%)
CMYKcmyk(31.7%, 67.4%, 0%, 9.8%)
CIE-LABlab(49.39, 61.20, -65.20)
CIE-LCHlch(49.39, 89.43, 313.19°)
OKLaboklab(59.07% 0.1278 -0.1852)
OKLCHoklch(59.07% 0.225 304.6)
XYZxyz(30.7004, 17.9136, 76.6879)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BE6 #94E64B
analogous
#504BE6 #9D4BE6 #E64BE2
triadic
#9D4BE6 #E69D4B #4BE69D
tetradic
#9D4BE6 #E6504B #94E64B #4BE2E6
square
#9D4BE6 #E6504B #94E64B #4BE2E6
split-complementary
#9D4BE6 #E2E64B #4BE650
monochromatic
#5F16A0 #7F1ED6 #9D4BE6 #BA81ED #D8B6F5

Accessibility & contrast

On white

4.58
#9D4BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9D4BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4BE6
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BE6#FFFFFF#000000##000000
##9D4BE61.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0D75E3
Tritanopia (blue-blind)
#8F6E93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4be6;
/* rgb */ color: rgb(157, 75, 230);
/* oklch */ color: oklch(59.1% 0.225 304.6);
Tailwind
colors: {
  custom: {
    50: '#bf83ef',
    500: '#9d4be6',
    950: '#000000',
  },
}
SCSS
$custom: #9d4be6;
$custom-light: #bf83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4be6",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 271.742,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59065,
    "c": 0.22498,
    "h": 304.6
  },
  "luminance": 0.17913
}

Semantic roles & 50–950 ramp

primary
#9D4BE6
secondary
#C5E4A8
accent
#F2368E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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