#8239A2#8239A2

#8239A2 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.9% C 0.170 H 314.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8239A2
RGBrgb(130, 57, 162)
HSLhsl(282, 48%, 43%)
HSVhsv(282, 65%, 64%)
CMYKcmyk(19.8%, 64.8%, 0%, 36.5%)
CIE-LABlab(38.34, 48.52, -43.64)
CIE-LCHlch(38.34, 65.26, 318.03°)
OKLaboklab(48.95% 0.1183 -0.1227)
OKLCHoklch(48.95% 0.17 314)
XYZxyz(17.1895, 10.2812, 35.2544)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239A2 #59A239
analogous
#4D39A2 #8239A2 #A2398D
triadic
#8239A2 #A28239 #39A282
tetradic
#8239A2 #A24D39 #59A239 #398DA2
square
#8239A2 #A24D39 #59A239 #398DA2
split-complementary
#8239A2 #8DA239 #39A24D
monochromatic
#391947 #5E2975 #8239A2 #A255C3 #BA82D3

Accessibility & contrast

On white

6.87
#8239A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8239A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239A2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239A2#FFFFFF#000000##FFFFFF
##8239A21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A56A5
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#7F4D68
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8239a2;
/* rgb */ color: rgb(130, 57, 162);
/* oklch */ color: oklch(48.9% 0.170 314.0);
Tailwind
colors: {
  custom: {
    50: '#a974be',
    500: '#8239a2',
    950: '#000000',
  },
}
SCSS
$custom: #8239a2;
$custom-light: #a974be;
$custom-dark: #000000;
JSON
{
  "hex": "#8239a2",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 281.714,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48947,
    "c": 0.1704,
    "h": 314
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#8239A2
secondary
#8EBD7A
accent
#D85079
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8239A2

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

Preview Lab → · Contrast checker → · Palette generator →

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