#9A39E6#9A39E6

#9A39E6 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.8% C 0.244 H 305.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9A39E6
RGBrgb(154, 57, 230)
HSLhsl(274, 78%, 56%)
HSVhsv(274, 75%, 90%)
CMYKcmyk(33%, 75.2%, 0%, 9.8%)
CIE-LABlab(46.32, 68.24, -70.20)
CIE-LCHlch(46.32, 97.90, 314.19°)
OKLaboklab(56.81% 0.1407 -0.1999)
OKLCHoklch(56.81% 0.244 305.2)
XYZxyz(29.0693, 15.5096, 76.3098)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39E6 #85E639
analogous
#4439E6 #9A39E6 #E639DB
triadic
#9A39E6 #E69A39 #39E69A
tetradic
#9A39E6 #E64439 #85E639 #39DBE6
square
#9A39E6 #E64439 #85E639 #39DBE6
split-complementary
#9A39E6 #DBE639 #39E644
monochromatic
#5A1292 #7C19C8 #9A39E6 #B66FED #D1A6F4

Accessibility & contrast

On white

5.12
#9A39E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9A39E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39E6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39E6#FFFFFF#000000##FFFFFF
##9A39E61.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#8C658E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a39e6;
/* rgb */ color: rgb(154, 57, 230);
/* oklch */ color: oklch(56.8% 0.244 305.2);
Tailwind
colors: {
  custom: {
    50: '#be79ef',
    500: '#9a39e6',
    950: '#000000',
  },
}
SCSS
$custom: #9a39e6;
$custom-light: #be79ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39e6",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 230
  },
  "hsl": {
    "h": 273.642,
    "s": 77.578,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.24445,
    "h": 305.2
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

primary
#9A39E6
secondary
#B9E19A
accent
#F43488
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9A39E6

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

Preview Lab → · Contrast checker → · Palette generator →

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