#9D3ECD#9D3ECD

#9D3ECD is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.216 H 311.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9D3ECD
RGBrgb(157, 62, 205)
HSLhsl(280, 59%, 52%)
HSVhsv(280, 70%, 80%)
CMYKcmyk(23.4%, 69.8%, 0%, 19.6%)
CIE-LABlab(45.66, 61.44, -56.96)
CIE-LCHlch(45.66, 83.78, 317.17°)
OKLaboklab(55.87% 0.1442 -0.1609)
OKLCHoklch(55.87% 0.216 311.9)
XYZxyz(26.6447, 15.0218, 59.2417)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ECD #6ECD3E
analogous
#553ECD #9D3ECD #CD3EB6
triadic
#9D3ECD #CD9D3E #3ECD9D
tetradic
#9D3ECD #CD553E #6ECD3E #3EB6CD
square
#9D3ECD #CD553E #6ECD3E #3EB6CD
split-complementary
#9D3ECD #B6CD3E #3ECD55
monochromatic
#561E73 #7B2AA3 #9D3ECD #B66FDA #CE9FE6

Accessibility & contrast

On white

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

On black

4.00
#9D3ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D3ECD#FFFFFF#000000##FFFFFF
##9D3ECD1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#975D81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3ecd;
/* rgb */ color: rgb(157, 62, 205);
/* oklch */ color: oklch(55.9% 0.216 311.9);
Tailwind
colors: {
  custom: {
    50: '#be7bdd',
    500: '#9d3ecd',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ecd;
$custom-light: #be7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ecd",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 279.86,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55869,
    "c": 0.21602,
    "h": 311.9
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#9D3ECD
secondary
#A9D394
accent
#E2467A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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