#8236A4#8236A4

#8236A4 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.177 H 313.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8236A4
RGBrgb(130, 54, 164)
HSLhsl(281, 50%, 43%)
HSVhsv(281, 67%, 64%)
CMYKcmyk(20.7%, 67.1%, 0%, 35.7%)
CIE-LABlab(37.96, 50.37, -45.46)
CIE-LCHlch(37.96, 67.85, 317.93°)
OKLaboklab(48.71% 0.1217 -0.128)
OKLCHoklch(48.71% 0.177 313.6)
XYZxyz(17.2248, 10.0650, 36.1501)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236A4 #58A436
analogous
#4B36A4 #8236A4 #A4368F
triadic
#8236A4 #A48236 #36A482
tetradic
#8236A4 #A44B36 #58A436 #368FA4
square
#8236A4 #A44B36 #58A436 #368FA4
split-complementary
#8236A4 #8FA436 #36A44B
monochromatic
#391848 #5E2776 #8236A4 #A251C6 #BB7FD5

Accessibility & contrast

On white

6.97
#8236A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8236A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8236A4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236A4#FFFFFF#000000##FFFFFF
##8236A41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#305BA1
Tritanopia (blue-blind)
#7F4C68
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8236a4;
/* rgb */ color: rgb(130, 54, 164);
/* oklch */ color: oklch(48.7% 0.177 313.6);
Tailwind
colors: {
  custom: {
    50: '#aa73c0',
    500: '#8236a4',
    950: '#000000',
  },
}
SCSS
$custom: #8236a4;
$custom-light: #aa73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8236a4",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 281.455,
    "s": 50.459,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.17663,
    "h": 313.6
  },
  "luminance": 0.10064
}

Semantic roles & 50–950 ramp

primary
#8236A4
secondary
#8DBE78
accent
#DA4E79
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8236A4

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

Preview Lab → · Contrast checker → · Palette generator →

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