#9B4FDA#9B4FDA

#9B4FDA is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.207 H 306.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9B4FDA
RGBrgb(155, 79, 218)
HSLhsl(273, 65%, 58%)
HSVhsv(273, 64%, 85%)
CMYKcmyk(28.9%, 63.8%, 0%, 14.5%)
CIE-LABlab(49.04, 56.15, -58.98)
CIE-LCHlch(49.04, 81.44, 313.59°)
OKLaboklab(58.5% 0.1219 -0.167)
OKLCHoklch(58.5% 0.207 306.1)
XYZxyz(28.9657, 17.6227, 68.1917)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FDA #8EDA4F
analogous
#554FDA #9B4FDA #DA4FD3
triadic
#9B4FDA #DA9B4F #4FDA9B
tetradic
#9B4FDA #DA554F #8EDA4F #4FD3DA
square
#9B4FDA #DA554F #8EDA4F #4FD3DA
split-complementary
#9B4FDA #D3DA4F #4FDA55
monochromatic
#5D1E90 #7D29C3 #9B4FDA #B882E5 #D4B4EF

Accessibility & contrast

On white

4.64
#9B4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9B4FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4FDA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FDA#FFFFFF#000000##FFFFFF
##9B4FDA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#2E75D7
Tritanopia (blue-blind)
#906C8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b4fda;
/* rgb */ color: rgb(155, 79, 218);
/* oklch */ color: oklch(58.5% 0.207 306.1);
Tailwind
colors: {
  custom: {
    50: '#bd85e6',
    500: '#9b4fda',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fda;
$custom-light: #bd85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fda",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 272.806,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58503,
    "c": 0.20677,
    "h": 306.1
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#9B4FDA
secondary
#C0DEA7
accent
#E8408C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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