#9B4FDF#9B4FDF

#9B4FDF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.212 H 305.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9B4FDF
RGBrgb(155, 79, 223)
HSLhsl(272, 69%, 59%)
HSVhsv(272, 65%, 87%)
CMYKcmyk(30.5%, 64.6%, 0%, 12.5%)
CIE-LABlab(49.36, 57.30, -61.30)
CIE-LCHlch(49.36, 83.91, 313.07°)
OKLaboklab(58.84% 0.1216 -0.1738)
OKLCHoklch(58.84% 0.212 305)
XYZxyz(29.6299, 17.8884, 71.6896)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FDF #93DF4F
analogous
#534FDF #9B4FDF #DF4FDB
triadic
#9B4FDF #DF9B4F #4FDF9B
tetradic
#9B4FDF #DF534F #93DF4F #4FDBDF
square
#9B4FDF #DF534F #93DF4F #4FDBDF
split-complementary
#9B4FDF #DBDF4F #4FDF53
monochromatic
#5D1C98 #7D25CC #9B4FDF #B883E8 #D6B7F2

Accessibility & contrast

On white

4.59
#9B4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9B4FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4FDF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FDF#FFFFFF#000000##FFFFFF
##9B4FDF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#2675DC
Tritanopia (blue-blind)
#8F6E90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b4fdf;
/* rgb */ color: rgb(155, 79, 223);
/* oklch */ color: oklch(58.8% 0.212 305.0);
Tailwind
colors: {
  custom: {
    50: '#bd85ea',
    500: '#9b4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fdf;
$custom-light: #bd85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fdf",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 271.667,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.21209,
    "h": 305
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#9B4FDF
secondary
#C3E1A9
accent
#EC3C8F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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