#9B4DD2#9B4DD2

#9B4DD2 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.201 H 308.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9B4DD2
RGBrgb(155, 77, 210)
HSLhsl(275, 60%, 56%)
HSVhsv(275, 63%, 82%)
CMYKcmyk(26.2%, 63.3%, 0%, 17.6%)
CIE-LABlab(48.17, 55.30, -55.81)
CIE-LCHlch(48.17, 78.57, 314.74°)
OKLaboklab(57.72% 0.1247 -0.1577)
OKLCHoklch(57.72% 0.201 308.3)
XYZxyz(27.8019, 16.9299, 62.7635)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DD2 #84D24D
analogous
#594DD2 #9B4DD2 #D24DC7
triadic
#9B4DD2 #D29B4D #4DD29B
tetradic
#9B4DD2 #D2594D #84D24D #4DC7D2
square
#9B4DD2 #D2594D #84D24D #4DC7D2
split-complementary
#9B4DD2 #C7D24D #4DD259
monochromatic
#5B2183 #7D2EB4 #9B4DD2 #B67EDE #D2AFEB

Accessibility & contrast

On white

4.79
#9B4DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9B4DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DD2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DD2#FFFFFF#000000##FFFFFF
##9B4DD21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#936889
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b4dd2;
/* rgb */ color: rgb(155, 77, 210);
/* oklch */ color: oklch(57.7% 0.201 308.3);
Tailwind
colors: {
  custom: {
    50: '#bc83e0',
    500: '#9b4dd2',
    950: '#000000',
  },
}
SCSS
$custom: #9b4dd2;
$custom-light: #bc83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4dd2",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 275.188,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57717,
    "c": 0.20102,
    "h": 308.3
  },
  "luminance": 0.16929
}

Semantic roles & 50–950 ramp

primary
#9B4DD2
secondary
#B9D9A2
accent
#E34586
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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