#8236A5#8236A5

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

Color values

HEX#8236A5
RGBrgb(130, 54, 165)
HSLhsl(281, 51%, 43%)
HSVhsv(281, 67%, 65%)
CMYKcmyk(21.2%, 67.3%, 0%, 35.3%)
CIE-LABlab(38.02, 50.58, -45.95)
CIE-LCHlch(38.02, 68.34, 317.75°)
OKLaboklab(48.78% 0.1217 -0.1294)
OKLCHoklch(48.78% 0.178 313.2)
XYZxyz(17.3154, 10.1013, 36.6276)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236A5 #59A536
analogous
#4A36A5 #8236A5 #A53690
triadic
#8236A5 #A58236 #36A582
tetradic
#8236A5 #A54A36 #59A536 #3690A5
square
#8236A5 #A54A36 #59A536 #3690A5
split-complementary
#8236A5 #90A536 #36A54A
monochromatic
#391849 #5E2777 #8236A5 #A252C6 #BA80D5

Accessibility & contrast

On white

6.95
#8236A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8236A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8236A5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236A5#FFFFFF#000000##FFFFFF
##8236A51.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#2F5BA2
Tritanopia (blue-blind)
#7E4C69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8236a5;
/* rgb */ color: rgb(130, 54, 165);
/* oklch */ color: oklch(48.8% 0.178 313.2);
Tailwind
colors: {
  custom: {
    50: '#aa73c0',
    500: '#8236a5',
    950: '#000000',
  },
}
SCSS
$custom: #8236a5;
$custom-light: #aa73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8236a5",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 281.081,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48779,
    "c": 0.17764,
    "h": 313.2
  },
  "luminance": 0.10101
}

Semantic roles & 50–950 ramp

primary
#8236A5
secondary
#8EBF78
accent
#DA4E7A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8236A5

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

Preview Lab → · Contrast checker → · Palette generator →

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