#9D4CDB#9D4CDB

#9D4CDB is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.212 H 307.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9D4CDB
RGBrgb(157, 76, 219)
HSLhsl(274, 67%, 58%)
HSVhsv(274, 65%, 86%)
CMYKcmyk(28.3%, 65.3%, 0%, 14.1%)
CIE-LABlab(48.82, 58.24, -59.88)
CIE-LCHlch(48.82, 83.53, 314.21°)
OKLaboklab(58.43% 0.1278 -0.1695)
OKLCHoklch(58.43% 0.212 307)
XYZxyz(29.2726, 17.4518, 68.8305)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CDB #8ADB4C
analogous
#554CDB #9D4CDB #DB4CD2
triadic
#9D4CDB #DB9D4C #4CDB9D
tetradic
#9D4CDB #DB554C #8ADB4C #4CD2DB
square
#9D4CDB #DB554C #8ADB4C #4CD2DB
split-complementary
#9D4CDB #D2DB4C #4CDB55
monochromatic
#5E1D90 #7F27C3 #9D4CDB #B97FE5 #D5B2EF

Accessibility & contrast

On white

4.68
#9D4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9D4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CDB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CDB#FFFFFF#000000##FFFFFF
##9D4CDB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#2B75D8
Tritanopia (blue-blind)
#936A8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4cdb;
/* rgb */ color: rgb(157, 76, 219);
/* oklch */ color: oklch(58.4% 0.212 307.0);
Tailwind
colors: {
  custom: {
    50: '#be83e7',
    500: '#9d4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cdb;
$custom-light: #be83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cdb",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 273.986,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58425,
    "c": 0.21233,
    "h": 307
  },
  "luminance": 0.17451
}

Semantic roles & 50–950 ramp

primary
#9D4CDB
secondary
#BEDEA5
accent
#E93E89
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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