#8237A4#8237A4

#8237A4 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.8% C 0.175 H 313.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8237A4
RGBrgb(130, 55, 164)
HSLhsl(281, 50%, 43%)
HSVhsv(281, 66%, 64%)
CMYKcmyk(20.7%, 66.5%, 0%, 35.7%)
CIE-LABlab(38.13, 49.90, -45.19)
CIE-LCHlch(38.13, 67.32, 317.84°)
OKLaboklab(48.83% 0.1206 -0.1272)
OKLCHoklch(48.83% 0.175 313.5)
XYZxyz(17.2718, 10.1591, 36.1658)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237A4 #59A437
analogous
#4B37A4 #8237A4 #A43790
triadic
#8237A4 #A48237 #37A482
tetradic
#8237A4 #A44B37 #59A437 #3790A4
square
#8237A4 #A44B37 #59A437 #3790A4
split-complementary
#8237A4 #90A437 #37A44B
monochromatic
#391848 #5E2876 #8237A4 #A253C5 #BA81D5

Accessibility & contrast

On white

6.93
#8237A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8237A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237A4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237A4#FFFFFF#000000##FFFFFF
##8237A41.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#315CA1
Tritanopia (blue-blind)
#7F4C69
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8237a4;
/* rgb */ color: rgb(130, 55, 164);
/* oklch */ color: oklch(48.8% 0.175 313.5);
Tailwind
colors: {
  custom: {
    50: '#aa73bf',
    500: '#8237a4',
    950: '#000000',
  },
}
SCSS
$custom: #8237a4;
$custom-light: #aa73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8237a4",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 281.284,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48832,
    "c": 0.17525,
    "h": 313.5
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#8237A4
secondary
#8EBE79
accent
#D94F7A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8237A4

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

Preview Lab → · Contrast checker → · Palette generator →

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