#9D3CD2#9D3CD2

#9D3CD2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.223 H 310.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9D3CD2
RGBrgb(157, 60, 210)
HSLhsl(279, 63%, 53%)
HSVhsv(279, 71%, 82%)
CMYKcmyk(25.2%, 71.4%, 0%, 17.6%)
CIE-LABlab(45.71, 63.32, -59.77)
CIE-LCHlch(45.71, 87.07, 316.65°)
OKLaboklab(56.01% 0.1455 -0.1691)
OKLCHoklch(56.01% 0.223 310.7)
XYZxyz(27.1511, 15.0536, 62.4356)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CD2 #71D23C
analogous
#523CD2 #9D3CD2 #D23CBC
triadic
#9D3CD2 #D29D3C #3CD29D
tetradic
#9D3CD2 #D2523C #71D23C #3CBCD2
square
#9D3CD2 #D2523C #71D23C #3CBCD2
split-complementary
#9D3CD2 #BCD23C #3CD252
monochromatic
#571C78 #7C27AA #9D3CD2 #B66EDD #CF9FE9

Accessibility & contrast

On white

5.24
#9D3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9D3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CD2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CD2#FFFFFF#000000##FFFFFF
##9D3CD21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#965E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3cd2;
/* rgb */ color: rgb(157, 60, 210);
/* oklch */ color: oklch(56.0% 0.223 310.7);
Tailwind
colors: {
  custom: {
    50: '#bf7ae1',
    500: '#9d3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cd2;
$custom-light: #bf7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cd2",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 278.8,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.22312,
    "h": 310.7
  },
  "luminance": 0.15053
}

Semantic roles & 50–950 ramp

primary
#9D3CD2
secondary
#ABD594
accent
#E6427C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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