#8239A4#8239A4

#8239A4 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.1% C 0.172 H 313.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8239A4
RGBrgb(130, 57, 164)
HSLhsl(281, 48%, 43%)
HSVhsv(281, 65%, 64%)
CMYKcmyk(20.7%, 65.2%, 0%, 35.7%)
CIE-LABlab(38.47, 48.96, -44.64)
CIE-LCHlch(38.47, 66.25, 317.64°)
OKLaboklab(49.08% 0.1182 -0.1256)
OKLCHoklch(49.08% 0.172 313.3)
XYZxyz(17.3687, 10.3529, 36.1981)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239A4 #5BA439
analogous
#4D39A4 #8239A4 #A43990
triadic
#8239A4 #A48239 #39A482
tetradic
#8239A4 #A44D39 #5BA439 #3990A4
square
#8239A4 #A44D39 #5BA439 #3990A4
split-complementary
#8239A4 #90A439 #39A44D
monochromatic
#3A1949 #5E2977 #8239A4 #A156C4 #BA83D4

Accessibility & contrast

On white

6.84
#8239A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8239A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239A4
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239A4#FFFFFF#000000##FFFFFF
##8239A41.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0357A7
Deuteranopia (green-blind)
#335CA1
Tritanopia (blue-blind)
#7F4E69
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8239a4;
/* rgb */ color: rgb(130, 57, 164);
/* oklch */ color: oklch(49.1% 0.172 313.3);
Tailwind
colors: {
  custom: {
    50: '#aa74bf',
    500: '#8239a4',
    950: '#000000',
  },
}
SCSS
$custom: #8239a4;
$custom-light: #aa74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8239a4",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 280.935,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49078,
    "c": 0.17246,
    "h": 313.3
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#8239A4
secondary
#90BE7B
accent
#D8507B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #8239A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8239A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva