#9D4BDC#9D4BDC

#9D4BDC is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.215 H 306.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9D4BDC
RGBrgb(157, 75, 220)
HSLhsl(274, 67%, 58%)
HSVhsv(274, 66%, 86%)
CMYKcmyk(28.6%, 65.9%, 0%, 13.7%)
CIE-LABlab(48.72, 58.94, -60.62)
CIE-LCHlch(48.72, 84.55, 314.19°)
OKLaboklab(58.37% 0.1288 -0.1717)
OKLCHoklch(58.37% 0.215 306.9)
XYZxyz(29.3362, 17.3679, 69.5032)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BDC #8ADC4B
analogous
#544BDC #9D4BDC #DC4BD3
triadic
#9D4BDC #DC9D4B #4BDC9D
tetradic
#9D4BDC #DC544B #8ADC4B #4BD3DC
square
#9D4BDC #DC544B #8ADC4B #4BD3DC
split-complementary
#9D4BDC #D3DC4B #4BDC54
monochromatic
#5E1C91 #7F26C4 #9D4BDC #B97EE6 #D5B1F0

Accessibility & contrast

On white

4.69
#9D4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9D4BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BDC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BDC#FFFFFF#000000##FFFFFF
##9D4BDC1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2874D9
Tritanopia (blue-blind)
#936A8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4bdc;
/* rgb */ color: rgb(157, 75, 220);
/* oklch */ color: oklch(58.4% 0.215 306.9);
Tailwind
colors: {
  custom: {
    50: '#be83e8',
    500: '#9d4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bdc;
$custom-light: #be83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bdc",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 273.931,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58371,
    "c": 0.21466,
    "h": 306.9
  },
  "luminance": 0.17368
}

Semantic roles & 50–950 ramp

primary
#9D4BDC
secondary
#BEDEA4
accent
#EA3D89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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