#9D4FCA#9D4FCA

#9D4FCA is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.7% C 0.190 H 311.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9D4FCA
RGBrgb(157, 79, 202)
HSLhsl(278, 54%, 55%)
HSVhsv(278, 61%, 79%)
CMYKcmyk(22.3%, 60.9%, 0%, 20.8%)
CIE-LABlab(48.29, 53.02, -51.01)
CIE-LCHlch(48.29, 73.57, 316.11°)
OKLaboklab(57.7% 0.1251 -0.1435)
OKLCHoklch(57.7% 0.19 311.1)
XYZxyz(27.3593, 17.0249, 57.7106)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FCA #7CCA4F
analogous
#604FCA #9D4FCA #CA4FB9
triadic
#9D4FCA #CA9D4F #4FCA9D
tetradic
#9D4FCA #CA604F #7CCA4F #4FB9CA
square
#9D4FCA #CA604F #7CCA4F #4FB9CA
split-complementary
#9D4FCA #B9CA4F #4FCA60
monochromatic
#5B257A #7E33A9 #9D4FCA #B77ED8 #D1ADE6

Accessibility & contrast

On white

4.77
#9D4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9D4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FCA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FCA#FFFFFF#000000##FFFFFF
##9D4FCA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#4374C7
Tritanopia (blue-blind)
#986685
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4fca;
/* rgb */ color: rgb(157, 79, 202);
/* oklch */ color: oklch(57.7% 0.190 311.1);
Tailwind
colors: {
  custom: {
    50: '#bd84db',
    500: '#9d4fca',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fca;
$custom-light: #bd84db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fca",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 278.049,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57701,
    "c": 0.19041,
    "h": 311.1
  },
  "luminance": 0.17024
}

Semantic roles & 50–950 ramp

primary
#9D4FCA
secondary
#B3D4A1
accent
#DD4B80
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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