#9A39CB#9A39CB

#9A39CB is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.219 H 311.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9A39CB
RGBrgb(154, 57, 203)
HSLhsl(280, 58%, 51%)
HSVhsv(280, 72%, 80%)
CMYKcmyk(24.1%, 71.9%, 0%, 20.4%)
CIE-LABlab(44.39, 62.47, -57.88)
CIE-LCHlch(44.39, 85.16, 317.18°)
OKLaboklab(54.83% 0.1456 -0.1637)
OKLCHoklch(54.83% 0.219 311.7)
XYZxyz(25.5670, 14.1087, 57.8648)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39CB #6ACB39
analogous
#5139CB #9A39CB #CB39B3
triadic
#9A39CB #CB9A39 #39CB9A
tetradic
#9A39CB #CB5139 #6ACB39 #39B3CB
square
#9A39CB #CB5139 #6ACB39 #39B3CB
split-complementary
#9A39CB #B3CB39 #39CB51
monochromatic
#521D6D #76299D #9A39CB #B369D8 #CB9AE4

Accessibility & contrast

On white

5.50
#9A39CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9A39CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39CB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39CB#FFFFFF#000000##FFFFFF
##9A39CB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#246BC8
Tritanopia (blue-blind)
#94597F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a39cb;
/* rgb */ color: rgb(154, 57, 203);
/* oklch */ color: oklch(54.8% 0.219 311.7);
Tailwind
colors: {
  custom: {
    50: '#bc78dc',
    500: '#9a39cb',
    950: '#000000',
  },
}
SCSS
$custom: #9a39cb;
$custom-light: #bc78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39cb",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 279.863,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54832,
    "c": 0.21904,
    "h": 311.7
  },
  "luminance": 0.14108
}

Semantic roles & 50–950 ramp

primary
#9A39CB
secondary
#A5D090
accent
#E2467A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9A39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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