#9A39DA#9A39DA

#9A39DA is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.9% C 0.233 H 307.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9A39DA
RGBrgb(154, 57, 218)
HSLhsl(276, 69%, 54%)
HSVhsv(276, 74%, 85%)
CMYKcmyk(29.4%, 73.9%, 0%, 14.5%)
CIE-LABlab(45.44, 65.64, -64.80)
CIE-LCHlch(45.44, 92.24, 315.37°)
OKLaboklab(55.91% 0.1432 -0.184)
OKLCHoklch(55.91% 0.233 307.9)
XYZxyz(27.4418, 14.8586, 67.7384)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39DA #79DA39
analogous
#4A39DA #9A39DA #DA39CA
triadic
#9A39DA #DA9A39 #39DA9A
tetradic
#9A39DA #DA4A39 #79DA39 #39CADA
square
#9A39DA #DA4A39 #79DA39 #39CADA
split-complementary
#9A39DA #CADA39 #39DA4A
monochromatic
#571881 #7A22B4 #9A39DA #B46DE4 #CFA0ED

Accessibility & contrast

On white

5.29
#9A39DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9A39DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39DA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39DA#FFFFFF#000000##FFFFFF
##9A39DA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#906087
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a39da;
/* rgb */ color: rgb(154, 57, 218);
/* oklch */ color: oklch(55.9% 0.233 307.9);
Tailwind
colors: {
  custom: {
    50: '#bd79e6',
    500: '#9a39da',
    950: '#000000',
  },
}
SCSS
$custom: #9a39da;
$custom-light: #bd79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39da",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 276.149,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55909,
    "c": 0.23314,
    "h": 307.9
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#9A39DA
secondary
#B0DA95
accent
#EB3C82
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A39DA

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

Preview Lab → · Contrast checker → · Palette generator →

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