#9B4FCA#9B4FCA

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

Color values

HEX#9B4FCA
RGBrgb(155, 79, 202)
HSLhsl(277, 54%, 55%)
HSVhsv(277, 61%, 79%)
CMYKcmyk(23.3%, 60.9%, 0%, 20.8%)
CIE-LABlab(48.04, 52.54, -51.43)
CIE-LCHlch(48.04, 73.52, 315.61°)
OKLaboklab(57.46% 0.1226 -0.1448)
OKLCHoklch(57.46% 0.19 310.2)
XYZxyz(26.9722, 16.8253, 57.6924)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FCA #7ECA4F
analogous
#5D4FCA #9B4FCA #CA4FBC
triadic
#9B4FCA #CA9B4F #4FCA9B
tetradic
#9B4FCA #CA5D4F #7ECA4F #4FBCCA
square
#9B4FCA #CA5D4F #7ECA4F #4FBCCA
split-complementary
#9B4FCA #BCCA4F #4FCA5D
monochromatic
#59257A #7C33A9 #9B4FCA #B67ED8 #D0ADE6

Accessibility & contrast

On white

4.81
#9B4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B4FCA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FCA#FFFFFF#000000##FFFFFF
##9B4FCA1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6FCE
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#956785
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b4fca;
/* rgb */ color: rgb(155, 79, 202);
/* oklch */ color: oklch(57.5% 0.190 310.2);
Tailwind
colors: {
  custom: {
    50: '#bc84db',
    500: '#9b4fca',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fca;
$custom-light: #bc84db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fca",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 277.073,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57463,
    "c": 0.18973,
    "h": 310.2
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#9B4FCA
secondary
#B4D4A1
accent
#DD4B83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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