#9B4DCE#9B4DCE

#9B4DCE is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.5% C 0.197 H 309.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9B4DCE
RGBrgb(155, 77, 206)
HSLhsl(276, 57%, 55%)
HSVhsv(276, 63%, 81%)
CMYKcmyk(24.8%, 62.6%, 0%, 19.2%)
CIE-LABlab(47.92, 54.41, -53.91)
CIE-LCHlch(47.92, 76.60, 315.26°)
OKLaboklab(57.46% 0.1249 -0.1521)
OKLCHoklch(57.46% 0.197 309.4)
XYZxyz(27.3098, 16.7330, 60.1717)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DCE #80CE4D
analogous
#5A4DCE #9B4DCE #CE4DC0
triadic
#9B4DCE #CE9B4D #4DCE9B
tetradic
#9B4DCE #CE5A4D #80CE4D #4DC0CE
square
#9B4DCE #CE5A4D #80CE4D #4DC0CE
split-complementary
#9B4DCE #C0CE4D #4DCE5A
monochromatic
#5A237E #7C30AE #9B4DCE #B67DDB #D1ADE8

Accessibility & contrast

On white

4.83
#9B4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9B4DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DCE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DCE#FFFFFF#000000##FFFFFF
##9B4DCE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ED2
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#946787
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b4dce;
/* rgb */ color: rgb(155, 77, 206);
/* oklch */ color: oklch(57.5% 0.197 309.4);
Tailwind
colors: {
  custom: {
    50: '#bc83de',
    500: '#9b4dce',
    950: '#000000',
  },
}
SCSS
$custom: #9b4dce;
$custom-light: #bc83de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4dce",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 276.279,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.1968,
    "h": 309.4
  },
  "luminance": 0.16733
}

Semantic roles & 50–950 ramp

primary
#9B4DCE
secondary
#B6D6A1
accent
#E04884
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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