#9B4CDB#9B4CDB

#9B4CDB is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.212 H 306.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9B4CDB
RGBrgb(155, 76, 219)
HSLhsl(273, 67%, 58%)
HSVhsv(273, 65%, 86%)
CMYKcmyk(29.2%, 65.3%, 0%, 14.1%)
CIE-LABlab(48.58, 57.82, -60.29)
CIE-LCHlch(48.58, 83.54, 313.80°)
OKLaboklab(58.19% 0.1252 -0.1708)
OKLCHoklch(58.19% 0.212 306.2)
XYZxyz(28.8854, 17.2522, 68.8124)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CDB #8CDB4C
analogous
#534CDB #9B4CDB #DB4CD3
triadic
#9B4CDB #DB9B4C #4CDB9B
tetradic
#9B4CDB #DB534C #8CDB4C #4CD3DB
square
#9B4CDB #DB534C #8CDB4C #4CD3DB
split-complementary
#9B4CDB #D3DB4C #4CDB53
monochromatic
#5C1D90 #7D27C3 #9B4CDB #B77FE5 #D4B2EF

Accessibility & contrast

On white

4.72
#9B4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9B4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CDB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CDB#FFFFFF#000000##FFFFFF
##9B4CDB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#906B8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4cdb;
/* rgb */ color: rgb(155, 76, 219);
/* oklch */ color: oklch(58.2% 0.212 306.2);
Tailwind
colors: {
  custom: {
    50: '#bd83e7',
    500: '#9b4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cdb;
$custom-light: #bd83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cdb",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 273.147,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58193,
    "c": 0.21181,
    "h": 306.2
  },
  "luminance": 0.17252
}

Semantic roles & 50–950 ramp

primary
#9B4CDB
secondary
#BEDEA5
accent
#E93E8B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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