#9A39CA#9A39CA

#9A39CA is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.218 H 311.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9A39CA
RGBrgb(154, 57, 202)
HSLhsl(280, 58%, 51%)
HSVhsv(280, 72%, 79%)
CMYKcmyk(23.8%, 71.8%, 0%, 20.8%)
CIE-LABlab(44.32, 62.26, -57.41)
CIE-LCHlch(44.32, 84.69, 317.32°)
OKLaboklab(54.76% 0.1457 -0.1623)
OKLCHoklch(54.76% 0.218 311.9)
XYZxyz(25.4483, 14.0612, 57.2392)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39CA #69CA39
analogous
#5139CA #9A39CA #CA39B1
triadic
#9A39CA #CA9A39 #39CA9A
tetradic
#9A39CA #CA5139 #69CA39 #39B1CA
square
#9A39CA #CA5139 #69CA39 #39B1CA
split-complementary
#9A39CA #B1CA39 #39CA51
monochromatic
#521D6C #762A9C #9A39CA #B369D7 #CB9AE4

Accessibility & contrast

On white

5.51
#9A39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9A39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39CA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39CA#FFFFFF#000000##FFFFFF
##9A39CA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#266BC7
Tritanopia (blue-blind)
#94597E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a39ca;
/* rgb */ color: rgb(154, 57, 202);
/* oklch */ color: oklch(54.8% 0.218 311.9);
Tailwind
colors: {
  custom: {
    50: '#bc78db',
    500: '#9a39ca',
    950: '#000000',
  },
}
SCSS
$custom: #9a39ca;
$custom-light: #bc78db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39ca",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 280.138,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.2181,
    "h": 311.9
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#9A39CA
secondary
#A5D08F
accent
#E1477A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9A39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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