#9B4EDD#9B4EDD

#9B4EDD is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.211 H 305.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9B4EDD
RGBrgb(155, 78, 221)
HSLhsl(272, 68%, 59%)
HSVhsv(272, 65%, 87%)
CMYKcmyk(29.9%, 64.7%, 0%, 13.3%)
CIE-LABlab(49.05, 57.32, -60.66)
CIE-LCHlch(49.05, 83.46, 313.38°)
OKLaboklab(58.58% 0.1228 -0.1719)
OKLCHoklch(58.58% 0.211 305.5)
XYZxyz(29.2903, 17.6380, 70.2540)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4EDD #90DD4E
analogous
#534EDD #9B4EDD #DD4ED7
triadic
#9B4EDD #DD9B4E #4EDD9B
tetradic
#9B4EDD #DD534E #90DD4E #4ED7DD
square
#9B4EDD #DD534E #90DD4E #4ED7DD
split-complementary
#9B4EDD #D7DD4E #4EDD53
monochromatic
#5D1C94 #7D26C7 #9B4EDD #B881E7 #D5B5F1

Accessibility & contrast

On white

4.64
#9B4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9B4EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4EDD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4EDD#FFFFFF#000000##FFFFFF
##9B4EDD1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#8F6D8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b4edd;
/* rgb */ color: rgb(155, 78, 221);
/* oklch */ color: oklch(58.6% 0.211 305.5);
Tailwind
colors: {
  custom: {
    50: '#bd84e8',
    500: '#9b4edd',
    950: '#000000',
  },
}
SCSS
$custom: #9b4edd;
$custom-light: #bd84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4edd",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 272.308,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58579,
    "c": 0.21129,
    "h": 305.5
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#9B4EDD
secondary
#C1E0A7
accent
#EB3D8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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