#9D3ECF#9D3ECF

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

Color values

HEX#9D3ECF
RGBrgb(157, 62, 207)
HSLhsl(279, 60%, 53%)
HSVhsv(279, 70%, 81%)
CMYKcmyk(24.2%, 70%, 0%, 18.8%)
CIE-LABlab(45.80, 61.86, -57.90)
CIE-LCHlch(45.80, 84.73, 316.90°)
OKLaboklab(56.01% 0.1439 -0.1636)
OKLCHoklch(56.01% 0.218 311.3)
XYZxyz(26.8876, 15.1190, 60.5213)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ECF #70CF3E
analogous
#543ECF #9D3ECF #CF3EB9
triadic
#9D3ECF #CF9D3E #3ECF9D
tetradic
#9D3ECF #CF543E #70CF3E #3EB9CF
square
#9D3ECF #CF543E #70CF3E #3EB9CF
split-complementary
#9D3ECF #B9CF3E #3ECF54
monochromatic
#571D75 #7B29A6 #9D3ECF #B66FDB #CFA0E7

Accessibility & contrast

On white

5.22
#9D3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9D3ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3ECF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3ECF#FFFFFF#000000##FFFFFF
##9D3ECF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#2A6ECC
Tritanopia (blue-blind)
#975D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3ecf;
/* rgb */ color: rgb(157, 62, 207);
/* oklch */ color: oklch(56.0% 0.218 311.3);
Tailwind
colors: {
  custom: {
    50: '#be7bde',
    500: '#9d3ecf',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ecf;
$custom-light: #be7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ecf",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 279.31,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56006,
    "c": 0.21792,
    "h": 311.3
  },
  "luminance": 0.15118
}

Semantic roles & 50–950 ramp

primary
#9D3ECF
secondary
#ABD495
accent
#E3447B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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