#9A39C8#9A39C8

#9A39C8 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.216 H 312.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9A39C8
RGBrgb(154, 57, 200)
HSLhsl(281, 57%, 50%)
HSVhsv(281, 72%, 78%)
CMYKcmyk(23%, 71.5%, 0%, 21.6%)
CIE-LABlab(44.19, 61.85, -56.47)
CIE-LCHlch(44.19, 83.75, 317.60°)
OKLaboklab(54.62% 0.146 -0.1595)
OKLCHoklch(54.62% 0.216 312.5)
XYZxyz(25.2130, 13.9671, 56.0001)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39C8 #67C839
analogous
#5239C8 #9A39C8 #C839AF
triadic
#9A39C8 #C89A39 #39C89A
tetradic
#9A39C8 #C85239 #67C839 #39AFC8
square
#9A39C8 #C85239 #67C839 #39AFC8
split-complementary
#9A39C8 #AFC839 #39C852
monochromatic
#511D69 #762B99 #9A39C8 #B269D5 #CB99E3

Accessibility & contrast

On white

5.54
#9A39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9A39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39C8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39C8#FFFFFF#000000##FFFFFF
##9A39C81.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#296AC5
Tritanopia (blue-blind)
#95587D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a39c8;
/* rgb */ color: rgb(154, 57, 200);
/* oklch */ color: oklch(54.6% 0.216 312.5);
Tailwind
colors: {
  custom: {
    50: '#bc78d9',
    500: '#9a39c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a39c8;
$custom-light: #bc78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39c8",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 280.699,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.21623,
    "h": 312.5
  },
  "luminance": 0.13966
}

Semantic roles & 50–950 ramp

primary
#9A39C8
secondary
#A3CE8F
accent
#E04879
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9A39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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