#9D4FDB#9D4FDB

#9D4FDB is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.208 H 306.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9D4FDB
RGBrgb(157, 79, 219)
HSLhsl(273, 66%, 58%)
HSVhsv(273, 64%, 86%)
CMYKcmyk(28.3%, 63.9%, 0%, 14.1%)
CIE-LABlab(49.34, 56.81, -59.04)
CIE-LCHlch(49.34, 81.94, 313.90°)
OKLaboklab(58.8% 0.1245 -0.1671)
OKLCHoklch(58.8% 0.208 306.7)
XYZxyz(29.4841, 17.8748, 68.9010)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FDB #8DDB4F
analogous
#574FDB #9D4FDB #DB4FD3
triadic
#9D4FDB #DB9D4F #4FDB9D
tetradic
#9D4FDB #DB574F #8DDB4F #4FD3DB
square
#9D4FDB #DB574F #8DDB4F #4FD3DB
split-complementary
#9D4FDB #D3DB4F #4FDB57
monochromatic
#5E1E92 #7F28C5 #9D4FDB #B982E5 #D6B5F0

Accessibility & contrast

On white

4.59
#9D4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9D4FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FDB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FDB#FFFFFF#000000##FFFFFF
##9D4FDB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#3076D8
Tritanopia (blue-blind)
#936C8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4fdb;
/* rgb */ color: rgb(157, 79, 219);
/* oklch */ color: oklch(58.8% 0.208 306.7);
Tailwind
colors: {
  custom: {
    50: '#be85e7',
    500: '#9d4fdb',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fdb;
$custom-light: #be85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fdb",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 273.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.588,
    "c": 0.20835,
    "h": 306.7
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#9D4FDB
secondary
#C0DFA7
accent
#E93F8A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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