#9B4FCF#9B4FCF

#9B4FCF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.8% C 0.195 H 308.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9B4FCF
RGBrgb(155, 79, 207)
HSLhsl(276, 57%, 56%)
HSVhsv(276, 62%, 81%)
CMYKcmyk(25.1%, 61.8%, 0%, 18.8%)
CIE-LABlab(48.34, 53.66, -53.81)
CIE-LCHlch(48.34, 75.99, 314.92°)
OKLaboklab(57.78% 0.1225 -0.1518)
OKLCHoklch(57.78% 0.195 308.9)
XYZxyz(27.5738, 17.0660, 60.8609)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FCF #83CF4F
analogous
#5B4FCF #9B4FCF #CF4FC3
triadic
#9B4FCF #CF9B4F #4FCF9B
tetradic
#9B4FCF #CF5B4F #83CF4F #4FC3CF
square
#9B4FCF #CF5B4F #83CF4F #4FC3CF
split-complementary
#9B4FCF #C3CF4F #4FCF5B
monochromatic
#5B2381 #7C30B1 #9B4FCF #B67FDC #D2AFE9

Accessibility & contrast

On white

4.76
#9B4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9B4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4FCF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FCF#FFFFFF#000000##FFFFFF
##9B4FCF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E70D3
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#946888
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4fcf;
/* rgb */ color: rgb(155, 79, 207);
/* oklch */ color: oklch(57.8% 0.195 308.9);
Tailwind
colors: {
  custom: {
    50: '#bc84de',
    500: '#9b4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fcf;
$custom-light: #bc84de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fcf",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 275.625,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.19505,
    "h": 308.9
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#9B4FCF
secondary
#B8D7A2
accent
#E04786
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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