#9D3FCA#9D3FCA

#9D3FCA is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.212 H 312.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9D3FCA
RGBrgb(157, 63, 202)
HSLhsl(281, 57%, 52%)
HSVhsv(281, 69%, 79%)
CMYKcmyk(22.3%, 68.8%, 0%, 20.8%)
CIE-LABlab(45.62, 60.39, -55.30)
CIE-LCHlch(45.62, 81.89, 317.52°)
OKLaboklab(55.77% 0.1434 -0.156)
OKLCHoklch(55.77% 0.212 312.6)
XYZxyz(26.3409, 14.9881, 57.3711)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FCA #6CCA3F
analogous
#583FCA #9D3FCA #CA3FB1
triadic
#9D3FCA #CA9D3F #3FCA9D
tetradic
#9D3FCA #CA583F #6CCA3F #3FB1CA
square
#9D3FCA #CA583F #6CCA3F #3FB1CA
split-complementary
#9D3FCA #B1CA3F #3FCA58
monochromatic
#561F70 #7A2CA0 #9D3FCA #B56FD7 #CE9FE4

Accessibility & contrast

On white

5.25
#9D3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D3FCA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FCA#FFFFFF#000000##FFFFFF
##9D3FCA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#326EC7
Tritanopia (blue-blind)
#985C80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3fca;
/* rgb */ color: rgb(157, 63, 202);
/* oklch */ color: oklch(55.8% 0.212 312.6);
Tailwind
colors: {
  custom: {
    50: '#be7bdb',
    500: '#9d3fca',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fca;
$custom-light: #be7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fca",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 280.576,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55774,
    "c": 0.21192,
    "h": 312.6
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#9D3FCA
secondary
#A8D194
accent
#E04879
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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