#9B4DCF#9B4DCF

#9B4DCF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.5% C 0.198 H 309.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9B4DCF
RGBrgb(155, 77, 207)
HSLhsl(276, 58%, 56%)
HSVhsv(276, 63%, 81%)
CMYKcmyk(25.1%, 62.8%, 0%, 18.8%)
CIE-LABlab(47.98, 54.63, -54.39)
CIE-LCHlch(47.98, 77.09, 315.13°)
OKLaboklab(57.52% 0.1249 -0.1535)
OKLCHoklch(57.52% 0.198 309.1)
XYZxyz(27.4317, 16.7818, 60.8135)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DCF #81CF4D
analogous
#5A4DCF #9B4DCF #CF4DC2
triadic
#9B4DCF #CF9B4D #4DCF9B
tetradic
#9B4DCF #CF5A4D #81CF4D #4DC2CF
square
#9B4DCF #CF5A4D #81CF4D #4DC2CF
split-complementary
#9B4DCF #C2CF4D #4DCF5A
monochromatic
#5A227F #7C2FAF #9B4DCF #B67DDC #D1ADE9

Accessibility & contrast

On white

4.82
#9B4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9B4DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DCF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DCF#FFFFFF#000000##FFFFFF
##9B4DCF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016FD3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#946787
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b4dcf;
/* rgb */ color: rgb(155, 77, 207);
/* oklch */ color: oklch(57.5% 0.198 309.1);
Tailwind
colors: {
  custom: {
    50: '#bc83de',
    500: '#9b4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #9b4dcf;
$custom-light: #bc83de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4dcf",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 276,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.19786,
    "h": 309.1
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#9B4DCF
secondary
#B6D7A1
accent
#E14785
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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