#9B4FDD#9B4FDD

#9B4FDD is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.210 H 305.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9B4FDD
RGBrgb(155, 79, 221)
HSLhsl(272, 68%, 59%)
HSVhsv(272, 64%, 87%)
CMYKcmyk(29.9%, 64.3%, 0%, 13.3%)
CIE-LABlab(49.23, 56.84, -60.38)
CIE-LCHlch(49.23, 82.92, 313.27°)
OKLaboklab(58.71% 0.1217 -0.1711)
OKLCHoklch(58.71% 0.21 305.4)
XYZxyz(29.3618, 17.7812, 70.2779)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FDD #91DD4F
analogous
#544FDD #9B4FDD #DD4FD8
triadic
#9B4FDD #DD9B4F #4FDD9B
tetradic
#9B4FDD #DD544F #91DD4F #4FD8DD
square
#9B4FDD #DD544F #91DD4F #4FD8DD
split-complementary
#9B4FDD #D8DD4F #4FDD54
monochromatic
#5D1D95 #7D27C8 #9B4FDD #B882E7 #D5B6F1

Accessibility & contrast

On white

4.61
#9B4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9B4FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4FDD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FDD#FFFFFF#000000##FFFFFF
##9B4FDD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#2A75DA
Tritanopia (blue-blind)
#8F6D8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b4fdd;
/* rgb */ color: rgb(155, 79, 221);
/* oklch */ color: oklch(58.7% 0.210 305.4);
Tailwind
colors: {
  custom: {
    50: '#bd85e8',
    500: '#9b4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fdd;
$custom-light: #bd85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fdd",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 272.113,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58705,
    "c": 0.20996,
    "h": 305.4
  },
  "luminance": 0.17781
}

Semantic roles & 50–950 ramp

primary
#9B4FDD
secondary
#C2E0A8
accent
#EA3D8E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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