#9D3FC8#9D3FC8

#9D3FC8 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.6% C 0.210 H 313.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9D3FC8
RGBrgb(157, 63, 200)
HSLhsl(281, 55%, 52%)
HSVhsv(281, 69%, 78%)
CMYKcmyk(21.5%, 68.5%, 0%, 21.6%)
CIE-LABlab(45.49, 59.98, -54.35)
CIE-LCHlch(45.49, 80.94, 317.82°)
OKLaboklab(55.64% 0.1436 -0.1532)
OKLCHoklch(55.64% 0.21 313.1)
XYZxyz(26.1056, 14.8940, 56.1320)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FC8 #6AC83F
analogous
#593FC8 #9D3FC8 #C83FAF
triadic
#9D3FC8 #C89D3F #3FC89D
tetradic
#9D3FC8 #C8593F #6AC83F #3FAFC8
square
#9D3FC8 #C8593F #6AC83F #3FAFC8
split-complementary
#9D3FC8 #AFC83F #3FC859
monochromatic
#551F6D #7A2D9D #9D3FC8 #B56FD6 #CE9EE3

Accessibility & contrast

On white

5.28
#9D3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9D3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FC8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FC8#FFFFFF#000000##FFFFFF
##9D3FC81.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#985B7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3fc8;
/* rgb */ color: rgb(157, 63, 200);
/* oklch */ color: oklch(55.6% 0.210 313.1);
Tailwind
colors: {
  custom: {
    50: '#be7bd9',
    500: '#9d3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fc8;
$custom-light: #be7bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fc8",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 281.168,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.21001,
    "h": 313.1
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#9D3FC8
secondary
#A6D093
accent
#DF4978
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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