#9B4CD2#9B4CD2

#9B4CD2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.202 H 308.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9B4CD2
RGBrgb(155, 76, 210)
HSLhsl(275, 60%, 56%)
HSVhsv(275, 64%, 82%)
CMYKcmyk(26.2%, 63.8%, 0%, 17.6%)
CIE-LABlab(48.00, 55.79, -56.09)
CIE-LCHlch(48.00, 79.11, 314.84°)
OKLaboklab(57.59% 0.1259 -0.1585)
OKLCHoklch(57.59% 0.202 308.5)
XYZxyz(27.7325, 16.7910, 62.7403)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CD2 #83D24C
analogous
#584CD2 #9B4CD2 #D24CC6
triadic
#9B4CD2 #D29B4C #4CD29B
tetradic
#9B4CD2 #D2584C #83D24C #4CC6D2
square
#9B4CD2 #D2584C #83D24C #4CC6D2
split-complementary
#9B4CD2 #C6D24C #4CD258
monochromatic
#5B2183 #7C2DB4 #9B4CD2 #B67DDE #D2AEEB

Accessibility & contrast

On white

4.82
#9B4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9B4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CD2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CD2#FFFFFF#000000##FFFFFF
##9B4CD21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b4cd2;
/* rgb */ color: rgb(155, 76, 210);
/* oklch */ color: oklch(57.6% 0.202 308.5);
Tailwind
colors: {
  custom: {
    50: '#bc83e0',
    500: '#9b4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cd2;
$custom-light: #bc83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cd2",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 275.373,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5759,
    "c": 0.20238,
    "h": 308.5
  },
  "luminance": 0.16791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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