#9D39D7#9D39D7

#9D39D7 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.1% C 0.231 H 309.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9D39D7
RGBrgb(157, 57, 215)
HSLhsl(278, 66%, 53%)
HSVhsv(278, 73%, 84%)
CMYKcmyk(27%, 73.5%, 0%, 15.7%)
CIE-LABlab(45.64, 65.55, -62.75)
CIE-LCHlch(45.64, 90.75, 316.25°)
OKLaboklab(56.07% 0.1476 -0.1779)
OKLCHoklch(56.07% 0.231 309.7)
XYZxyz(27.6311, 15.0012, 65.7167)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39D7 #73D739
analogous
#4E39D7 #9D39D7 #D739C2
triadic
#9D39D7 #D79D39 #39D79D
tetradic
#9D39D7 #D74E39 #73D739 #39C2D7
square
#9D39D7 #D74E39 #73D739 #39C2D7
split-complementary
#9D39D7 #C2D739 #39D74E
monochromatic
#58197C #7C23AF #9D39D7 #B66CE1 #CF9FEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D39D7#FFFFFF#000000##FFFFFF
##9D39D71.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)
#0068DB
Deuteranopia (green-blind)
#0D6DD4
Tritanopia (blue-blind)
#955E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d39d7;
/* rgb */ color: rgb(157, 57, 215);
/* oklch */ color: oklch(56.1% 0.231 309.7);
Tailwind
colors: {
  custom: {
    50: '#bf79e4',
    500: '#9d39d7',
    950: '#000000',
  },
}
SCSS
$custom: #9d39d7;
$custom-light: #bf79e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39d7",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 277.975,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56065,
    "c": 0.23114,
    "h": 309.7
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#9D39D7
secondary
#ADD894
accent
#E93E7D
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D39D7

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

Preview Lab → · Contrast checker → · Palette generator →

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