#9B4FD2#9B4FD2

#9B4FD2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 58.0% C 0.198 H 308.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9B4FD2
RGBrgb(155, 79, 210)
HSLhsl(275, 59%, 57%)
HSVhsv(275, 62%, 82%)
CMYKcmyk(26.2%, 62.4%, 0%, 17.6%)
CIE-LABlab(48.53, 54.33, -55.23)
CIE-LCHlch(48.53, 77.48, 314.53°)
OKLaboklab(57.98% 0.1224 -0.156)
OKLCHoklch(57.98% 0.198 308.1)
XYZxyz(27.9440, 17.2141, 62.8108)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FD2 #86D24F
analogous
#5A4FD2 #9B4FD2 #D24FC8
triadic
#9B4FD2 #D29B4F #4FD29B
tetradic
#9B4FD2 #D25A4F #86D24F #4FC8D2
square
#9B4FD2 #D25A4F #86D24F #4FC8D2
split-complementary
#9B4FD2 #C8D24F #4FD25A
monochromatic
#5B2285 #7D2EB5 #9B4FD2 #B780DE #D2B0EB

Accessibility & contrast

On white

4.73
#9B4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9B4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4FD2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FD2#FFFFFF#000000##FFFFFF
##9B4FD21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0170D6
Deuteranopia (green-blind)
#3974CF
Tritanopia (blue-blind)
#936989
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4fd2;
/* rgb */ color: rgb(155, 79, 210);
/* oklch */ color: oklch(58.0% 0.198 308.1);
Tailwind
colors: {
  custom: {
    50: '#bc84e0',
    500: '#9b4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fd2;
$custom-light: #bc84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fd2",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 274.809,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57975,
    "c": 0.19825,
    "h": 308.1
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

primary
#9B4FD2
secondary
#BAD9A4
accent
#E24587
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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