#9D3FC2#9D3FC2

#9D3FC2 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.2% C 0.204 H 314.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9D3FC2
RGBrgb(157, 63, 194)
HSLhsl(283, 52%, 50%)
HSVhsv(283, 68%, 76%)
CMYKcmyk(19.1%, 67.5%, 0%, 23.9%)
CIE-LABlab(45.11, 58.74, -51.48)
CIE-LCHlch(45.11, 78.11, 318.77°)
OKLaboklab(55.25% 0.1441 -0.1448)
OKLCHoklch(55.25% 0.204 314.8)
XYZxyz(25.4182, 14.6190, 52.5113)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FC2 #64C23F
analogous
#5B3FC2 #9D3FC2 #C23FA6
triadic
#9D3FC2 #C29D3F #3FC29D
tetradic
#9D3FC2 #C25B3F #64C23F #3FA6C2
square
#9D3FC2 #C25B3F #64C23F #3FA6C2
split-complementary
#9D3FC2 #A6C23F #3FC25B
monochromatic
#522066 #782F95 #9D3FC2 #B56DD1 #CC9CE0

Accessibility & contrast

On white

5.35
#9D3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9D3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FC2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FC2#FFFFFF#000000##FFFFFF
##9D3FC21.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#3B6DBF
Tritanopia (blue-blind)
#9A597C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d3fc2;
/* rgb */ color: rgb(157, 63, 194);
/* oklch */ color: oklch(55.2% 0.204 314.8);
Tailwind
colors: {
  custom: {
    50: '#be7bd5',
    500: '#9d3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fc2;
$custom-light: #be7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fc2",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 283.053,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55246,
    "c": 0.20427,
    "h": 314.8
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#9D3FC2
secondary
#A2CC91
accent
#DB4D75
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9D3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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