#9A39CC#9A39CC

#9A39CC is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.220 H 311.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9A39CC
RGBrgb(154, 57, 204)
HSLhsl(280, 59%, 51%)
HSVhsv(280, 72%, 80%)
CMYKcmyk(24.5%, 72.1%, 0%, 20%)
CIE-LABlab(44.46, 62.68, -58.35)
CIE-LCHlch(44.46, 85.63, 317.05°)
OKLaboklab(54.9% 0.1454 -0.165)
OKLCHoklch(54.9% 0.22 311.4)
XYZxyz(25.6866, 14.1566, 58.4944)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39CC #6BCC39
analogous
#5039CC #9A39CC #CC39B4
triadic
#9A39CC #CC9A39 #39CC9A
tetradic
#9A39CC #CC5039 #6BCC39 #39B4CC
square
#9A39CC #CC5039 #6BCC39 #39B4CC
split-complementary
#9A39CC #B4CC39 #39CC50
monochromatic
#521C6E #77299F #9A39CC #B36AD9 #CC9AE5

Accessibility & contrast

On white

5.48
#9A39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9A39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39CC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39CC#FFFFFF#000000##FFFFFF
##9A39CC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#945A7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a39cc;
/* rgb */ color: rgb(154, 57, 204);
/* oklch */ color: oklch(54.9% 0.220 311.4);
Tailwind
colors: {
  custom: {
    50: '#bc78dc',
    500: '#9a39cc',
    950: '#000000',
  },
}
SCSS
$custom: #9a39cc;
$custom-light: #bc78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39cc",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 279.592,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.21997,
    "h": 311.4
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#9A39CC
secondary
#A6D190
accent
#E2467B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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