#9B4CDC#9B4CDC

#9B4CDC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.213 H 306.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9B4CDC
RGBrgb(155, 76, 220)
HSLhsl(273, 67%, 58%)
HSVhsv(273, 65%, 86%)
CMYKcmyk(29.5%, 65.5%, 0%, 13.7%)
CIE-LABlab(48.64, 58.05, -60.76)
CIE-LCHlch(48.64, 84.03, 313.69°)
OKLaboklab(58.26% 0.1251 -0.1722)
OKLCHoklch(58.26% 0.213 306)
XYZxyz(29.0175, 17.3050, 69.5078)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CDC #8DDC4C
analogous
#534CDC #9B4CDC #DC4CD5
triadic
#9B4CDC #DC9B4C #4CDC9B
tetradic
#9B4CDC #DC534C #8DDC4C #4CD5DC
square
#9B4CDC #DC534C #8DDC4C #4CD5DC
split-complementary
#9B4CDC #D5DC4C #4CDC53
monochromatic
#5C1C91 #7D26C4 #9B4CDC #B87FE6 #D4B2F0

Accessibility & contrast

On white

4.71
#9B4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9B4CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CDC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CDC#FFFFFF#000000##FFFFFF
##9B4CDC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#906B8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b4cdc;
/* rgb */ color: rgb(155, 76, 220);
/* oklch */ color: oklch(58.3% 0.213 306.0);
Tailwind
colors: {
  custom: {
    50: '#bd83e8',
    500: '#9b4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cdc;
$custom-light: #bd83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cdc",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 272.917,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.21285,
    "h": 306
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#9B4CDC
secondary
#BFDFA5
accent
#EA3E8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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