#8236A2#8236A2

#8236A2 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.6% C 0.175 H 314.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8236A2
RGBrgb(130, 54, 162)
HSLhsl(282, 50%, 42%)
HSVhsv(282, 67%, 64%)
CMYKcmyk(19.8%, 66.7%, 0%, 36.5%)
CIE-LABlab(37.83, 49.94, -44.46)
CIE-LCHlch(37.83, 66.86, 318.32°)
OKLaboklab(48.58% 0.1219 -0.125)
OKLCHoklch(48.58% 0.175 314.3)
XYZxyz(17.0456, 9.9933, 35.2064)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236A2 #56A236
analogous
#4C36A2 #8236A2 #A2368C
triadic
#8236A2 #A28236 #36A282
tetradic
#8236A2 #A24C36 #56A236 #368CA2
square
#8236A2 #A24C36 #56A236 #368CA2
split-complementary
#8236A2 #8CA236 #36A24C
monochromatic
#381746 #5D2774 #8236A2 #A250C5 #BB7ED4

Accessibility & contrast

On white

7.00
#8236A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8236A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8236A2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236A2#FFFFFF#000000##FFFFFF
##8236A21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#325B9F
Tritanopia (blue-blind)
#7F4B67
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8236a2;
/* rgb */ color: rgb(130, 54, 162);
/* oklch */ color: oklch(48.6% 0.175 314.3);
Tailwind
colors: {
  custom: {
    50: '#aa73be',
    500: '#8236a2',
    950: '#000000',
  },
}
SCSS
$custom: #8236a2;
$custom-light: #aa73be;
$custom-dark: #000000;
JSON
{
  "hex": "#8236a2",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 282.222,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.1746,
    "h": 314.3
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#8236A2
secondary
#8BBD77
accent
#DA4E78
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8236A2

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

Preview Lab → · Contrast checker → · Palette generator →

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