#9D4BCB#9D4BCB

#9D4BCB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.2% C 0.197 H 311.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9D4BCB
RGBrgb(157, 75, 203)
HSLhsl(278, 55%, 55%)
HSVhsv(278, 63%, 80%)
CMYKcmyk(22.7%, 63.1%, 0%, 20.4%)
CIE-LABlab(47.64, 55.18, -52.63)
CIE-LCHlch(47.64, 76.25, 316.35°)
OKLaboklab(57.25% 0.1299 -0.1483)
OKLCHoklch(57.25% 0.197 311.2)
XYZxyz(27.1982, 16.5127, 58.2428)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BCB #79CB4B
analogous
#5D4BCB #9D4BCB #CB4BB9
triadic
#9D4BCB #CB9D4B #4BCB9D
tetradic
#9D4BCB #CB5D4B #79CB4B #4BB9CB
square
#9D4BCB #CB5D4B #79CB4B #4BB9CB
split-complementary
#9D4BCB #B9CB4B #4BCB5D
monochromatic
#5A2379 #7D31A8 #9D4BCB #B77AD9 #D1AAE6

Accessibility & contrast

On white

4.88
#9D4BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9D4BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BCB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BCB#FFFFFF#000000##FFFFFF
##9D4BCB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6DCF
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#976484
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d4bcb;
/* rgb */ color: rgb(157, 75, 203);
/* oklch */ color: oklch(57.2% 0.197 311.2);
Tailwind
colors: {
  custom: {
    50: '#bd82db',
    500: '#9d4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bcb;
$custom-light: #bd82db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bcb",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 278.438,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57248,
    "c": 0.19712,
    "h": 311.2
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#9D4BCB
secondary
#B1D49E
accent
#DF497F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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