#8236A6#8236A6

#8236A6 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.8% C 0.179 H 312.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8236A6
RGBrgb(130, 54, 166)
HSLhsl(281, 51%, 43%)
HSVhsv(281, 67%, 65%)
CMYKcmyk(21.7%, 67.5%, 0%, 34.9%)
CIE-LABlab(38.09, 50.80, -46.45)
CIE-LCHlch(38.09, 68.83, 317.56°)
OKLaboklab(48.85% 0.1216 -0.1309)
OKLCHoklch(48.85% 0.179 312.9)
XYZxyz(17.4068, 10.1378, 37.1088)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236A6 #5AA636
analogous
#4A36A6 #8236A6 #A63692
triadic
#8236A6 #A68236 #36A682
tetradic
#8236A6 #A64A36 #5AA636 #3692A6
square
#8236A6 #A64A36 #5AA636 #3692A6
split-complementary
#8236A6 #92A636 #36A64A
monochromatic
#3A184A #5E2778 #8236A6 #A152C7 #BA81D6

Accessibility & contrast

On white

6.94
#8236A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8236A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8236A6
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236A6#FFFFFF#000000##FFFFFF
##8236A61.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#7E4C69
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8236a6;
/* rgb */ color: rgb(130, 54, 166);
/* oklch */ color: oklch(48.8% 0.179 312.9);
Tailwind
colors: {
  custom: {
    50: '#aa73c1',
    500: '#8236a6',
    950: '#000000',
  },
}
SCSS
$custom: #8236a6;
$custom-light: #aa73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8236a6",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 280.714,
    "s": 50.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48846,
    "c": 0.17865,
    "h": 312.9
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#8236A6
secondary
#8FBF79
accent
#DA4D7B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8236A6

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

Preview Lab → · Contrast checker → · Palette generator →

#8236A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva