#9B4CDD#9B4CDD

#9B4CDD is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.214 H 305.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9B4CDD
RGBrgb(155, 76, 221)
HSLhsl(273, 68%, 58%)
HSVhsv(273, 66%, 87%)
CMYKcmyk(29.9%, 65.6%, 0%, 13.3%)
CIE-LABlab(48.71, 58.27, -61.22)
CIE-LCHlch(48.71, 84.52, 313.59°)
OKLaboklab(58.33% 0.125 -0.1735)
OKLCHoklch(58.33% 0.214 305.8)
XYZxyz(29.1503, 17.3581, 70.2074)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CDD #8EDD4C
analogous
#524CDD #9B4CDD #DD4CD6
triadic
#9B4CDD #DD9B4C #4CDD9B
tetradic
#9B4CDD #DD524C #8EDD4C #4CD6DD
square
#9B4CDD #DD524C #8EDD4C #4CD6DD
split-complementary
#9B4CDD #D6DD4C #4CDD52
monochromatic
#5D1C93 #7D26C6 #9B4CDD #B87FE7 #D4B3F1

Accessibility & contrast

On white

4.70
#9B4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9B4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CDD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CDD#FFFFFF#000000##FFFFFF
##9B4CDD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#2474DA
Tritanopia (blue-blind)
#8F6B8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b4cdd;
/* rgb */ color: rgb(155, 76, 221);
/* oklch */ color: oklch(58.3% 0.214 305.8);
Tailwind
colors: {
  custom: {
    50: '#bd83e8',
    500: '#9b4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cdd;
$custom-light: #bd83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cdd",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 272.69,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.2139,
    "h": 305.8
  },
  "luminance": 0.17358
}

Semantic roles & 50–950 ramp

primary
#9B4CDD
secondary
#C0DFA6
accent
#EB3D8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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