#8236A7#8236A7

#8236A7 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.180 H 312.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8236A7
RGBrgb(130, 54, 167)
HSLhsl(280, 51%, 43%)
HSVhsv(280, 68%, 65%)
CMYKcmyk(22.2%, 67.7%, 0%, 34.5%)
CIE-LABlab(38.15, 51.02, -46.94)
CIE-LCHlch(38.15, 69.33, 317.39°)
OKLaboklab(48.91% 0.1215 -0.1323)
OKLCHoklch(48.91% 0.18 312.6)
XYZxyz(17.4989, 10.1747, 37.5938)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236A7 #5BA736
analogous
#4936A7 #8236A7 #A73693
triadic
#8236A7 #A78236 #36A782
tetradic
#8236A7 #A74936 #5BA736 #3693A7
square
#8236A7 #A74936 #5BA736 #3693A7
split-complementary
#8236A7 #93A736 #36A749
monochromatic
#3A184B #5E2779 #8236A7 #A153C7 #BA81D6

Accessibility & contrast

On white

6.92
#8236A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8236A7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236A7#FFFFFF#000000##FFFFFF
##8236A71.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#2C5BA4
Tritanopia (blue-blind)
#7E4D6A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8236a7;
/* rgb */ color: rgb(130, 54, 167);
/* oklch */ color: oklch(48.9% 0.180 312.6);
Tailwind
colors: {
  custom: {
    50: '#aa73c2',
    500: '#8236a7',
    950: '#000000',
  },
}
SCSS
$custom: #8236a7;
$custom-light: #aa73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8236a7",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 280.354,
    "s": 51.131,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.17966,
    "h": 312.6
  },
  "luminance": 0.10174
}

Semantic roles & 50–950 ramp

primary
#8236A7
secondary
#90C079
accent
#DB4D7B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8236A7

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

Preview Lab → · Contrast checker → · Palette generator →

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