#9D3CDC#9D3CDC

#9D3CDC is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.7% C 0.233 H 308.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9D3CDC
RGBrgb(157, 60, 220)
HSLhsl(276, 70%, 55%)
HSVhsv(276, 73%, 86%)
CMYKcmyk(28.6%, 72.7%, 0%, 13.7%)
CIE-LABlab(46.40, 65.44, -64.37)
CIE-LCHlch(46.40, 91.79, 315.47°)
OKLaboklab(56.72% 0.144 -0.1826)
OKLCHoklch(56.72% 0.233 308.3)
XYZxyz(28.4361, 15.5676, 69.2031)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CDC #7BDC3C
analogous
#4D3CDC #9D3CDC #DC3CCB
triadic
#9D3CDC #DC9D3C #3CDC9D
tetradic
#9D3CDC #DC4D3C #7BDC3C #3CCBDC
square
#9D3CDC #DC4D3C #7BDC3C #3CCBDC
split-complementary
#9D3CDC #CBDC3C #3CDC4D
monochromatic
#5A1886 #7E21BA #9D3CDC #B770E5 #D1A4EF

Accessibility & contrast

On white

5.11
#9D3CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9D3CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CDC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CDC#FFFFFF#000000##FFFFFF
##9D3CDC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#936289
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d3cdc;
/* rgb */ color: rgb(157, 60, 220);
/* oklch */ color: oklch(56.7% 0.233 308.3);
Tailwind
colors: {
  custom: {
    50: '#bf7be8',
    500: '#9d3cdc',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cdc;
$custom-light: #bf7be8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cdc",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 220
  },
  "hsl": {
    "h": 276.375,
    "s": 69.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56718,
    "c": 0.23258,
    "h": 308.3
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#9D3CDC
secondary
#B3DC98
accent
#EC3B81
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D3CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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