#9A39D7#9A39D7

#9A39D7 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.7% C 0.230 H 308.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9A39D7
RGBrgb(154, 57, 215)
HSLhsl(277, 66%, 53%)
HSVhsv(277, 73%, 84%)
CMYKcmyk(28.4%, 73.5%, 0%, 15.7%)
CIE-LABlab(45.22, 65.00, -63.44)
CIE-LCHlch(45.22, 90.82, 315.70°)
OKLaboklab(55.69% 0.1437 -0.18)
OKLCHoklch(55.69% 0.23 308.6)
XYZxyz(27.0528, 14.7030, 65.6896)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39D7 #76D739
analogous
#4B39D7 #9A39D7 #D739C5
triadic
#9A39D7 #D79A39 #39D79A
tetradic
#9A39D7 #D74B39 #76D739 #39C5D7
square
#9A39D7 #D74B39 #76D739 #39C5D7
split-complementary
#9A39D7 #C5D739 #39D74B
monochromatic
#56197C #7923AF #9A39D7 #B46CE1 #CE9FEC

Accessibility & contrast

On white

5.33
#9A39D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9A39D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39D7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39D7#FFFFFF#000000##FFFFFF
##9A39D71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#915E85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a39d7;
/* rgb */ color: rgb(154, 57, 215);
/* oklch */ color: oklch(55.7% 0.230 308.6);
Tailwind
colors: {
  custom: {
    50: '#bd79e4',
    500: '#9a39d7',
    950: '#000000',
  },
}
SCSS
$custom: #9a39d7;
$custom-light: #bd79e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39d7",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 276.835,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.23032,
    "h": 308.6
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#9A39D7
secondary
#AED894
accent
#E93E80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A39D7

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

Preview Lab → · Contrast checker → · Palette generator →

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