#9B4CDF#9B4CDF

#9B4CDF is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.216 H 305.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9B4CDF
RGBrgb(155, 76, 223)
HSLhsl(272, 70%, 59%)
HSVhsv(272, 66%, 87%)
CMYKcmyk(30.5%, 65.9%, 0%, 12.5%)
CIE-LABlab(48.84, 58.73, -62.14)
CIE-LCHlch(48.84, 85.50, 313.38°)
OKLaboklab(58.47% 0.1249 -0.1762)
OKLCHoklch(58.47% 0.216 305.3)
XYZxyz(29.4184, 17.4654, 71.6191)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CDF #90DF4C
analogous
#514CDF #9B4CDF #DF4CD9
triadic
#9B4CDF #DF9B4C #4CDF9B
tetradic
#9B4CDF #DF514C #90DF4C #4CD9DF
square
#9B4CDF #DF514C #90DF4C #4CD9DF
split-complementary
#9B4CDF #D9DF4C #4CDF51
monochromatic
#5D1B96 #7D24CA #9B4CDF #B880E8 #D5B4F2

Accessibility & contrast

On white

4.67
#9B4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9B4CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CDF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CDF#FFFFFF#000000##FFFFFF
##9B4CDF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#2074DC
Tritanopia (blue-blind)
#8F6C8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b4cdf;
/* rgb */ color: rgb(155, 76, 223);
/* oklch */ color: oklch(58.5% 0.216 305.3);
Tailwind
colors: {
  custom: {
    50: '#bd83ea',
    500: '#9b4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cdf;
$custom-light: #bd83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cdf",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 272.245,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.21599,
    "h": 305.3
  },
  "luminance": 0.17465
}

Semantic roles & 50–950 ramp

primary
#9B4CDF
secondary
#C1E0A6
accent
#EC3B8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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