#9D3CD9#9D3CD9

#9D3CD9 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.5% C 0.230 H 309.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9D3CD9
RGBrgb(157, 60, 217)
HSLhsl(277, 67%, 54%)
HSVhsv(277, 72%, 85%)
CMYKcmyk(27.6%, 72.4%, 0%, 14.9%)
CIE-LABlab(46.19, 64.80, -63.00)
CIE-LCHlch(46.19, 90.37, 315.81°)
OKLaboklab(56.5% 0.1445 -0.1786)
OKLCHoklch(56.5% 0.23 309)
XYZxyz(28.0423, 15.4101, 67.1294)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CD9 #78D93C
analogous
#4F3CD9 #9D3CD9 #D93CC7
triadic
#9D3CD9 #D99D3C #3CD99D
tetradic
#9D3CD9 #D94F3C #78D93C #3CC7D9
square
#9D3CD9 #D94F3C #78D93C #3CC7D9
split-complementary
#9D3CD9 #C7D93C #3CD94F
monochromatic
#5A1981 #7D23B5 #9D3CD9 #B76FE3 #D0A2ED

Accessibility & contrast

On white

5.14
#9D3CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9D3CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CD9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CD9#FFFFFF#000000##FFFFFF
##9D3CD91.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0E6FD6
Tritanopia (blue-blind)
#946087
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d3cd9;
/* rgb */ color: rgb(157, 60, 217);
/* oklch */ color: oklch(56.5% 0.230 309.0);
Tailwind
colors: {
  custom: {
    50: '#bf7ae6',
    500: '#9d3cd9',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cd9;
$custom-light: #bf7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cd9",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 277.07,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.22974,
    "h": 309
  },
  "luminance": 0.1541
}

Semantic roles & 50–950 ramp

primary
#9D3CD9
secondary
#B1DA97
accent
#EA3E80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D3CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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