#9F39D7#9F39D7

#9F39D7 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.3% C 0.232 H 310.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9F39D7
RGBrgb(159, 57, 215)
HSLhsl(279, 66%, 53%)
HSVhsv(279, 73%, 84%)
CMYKcmyk(26%, 73.5%, 0%, 15.7%)
CIE-LABlab(45.91, 65.93, -62.29)
CIE-LCHlch(45.91, 90.70, 316.62°)
OKLaboklab(56.32% 0.1502 -0.1764)
OKLCHoklch(56.32% 0.232 310.4)
XYZxyz(28.0246, 15.2041, 65.7352)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39D7 #71D739
analogous
#5039D7 #9F39D7 #D739C0
triadic
#9F39D7 #D79F39 #39D79F
tetradic
#9F39D7 #D75039 #71D739 #39C0D7
square
#9F39D7 #D75039 #71D739 #39C0D7
split-complementary
#9F39D7 #C0D739 #39D750
monochromatic
#59197C #7E23AF #9F39D7 #B86CE1 #D09FEC

Accessibility & contrast

On white

5.20
#9F39D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9F39D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39D7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39D7#FFFFFF#000000##FFFFFF
##9F39D71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#156ED4
Tritanopia (blue-blind)
#975E85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f39d7;
/* rgb */ color: rgb(159, 57, 215);
/* oklch */ color: oklch(56.3% 0.232 310.4);
Tailwind
colors: {
  custom: {
    50: '#c079e4',
    500: '#9f39d7',
    950: '#000000',
  },
}
SCSS
$custom: #9f39d7;
$custom-light: #c079e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39d7",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 278.734,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56318,
    "c": 0.23171,
    "h": 310.4
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#9F39D7
secondary
#ACD894
accent
#E93E7B
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F39D7

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

Preview Lab → · Contrast checker → · Palette generator →

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