#8237A5#8237A5

#8237A5 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.176 H 313.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8237A5
RGBrgb(130, 55, 165)
HSLhsl(281, 50%, 43%)
HSVhsv(281, 67%, 65%)
CMYKcmyk(21.2%, 66.7%, 0%, 35.3%)
CIE-LABlab(38.19, 50.12, -45.68)
CIE-LCHlch(38.19, 67.82, 317.65°)
OKLaboklab(48.9% 0.1205 -0.1286)
OKLCHoklch(48.9% 0.176 313.1)
XYZxyz(17.3625, 10.1953, 36.6433)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237A5 #5AA537
analogous
#4B37A5 #8237A5 #A53791
triadic
#8237A5 #A58237 #37A582
tetradic
#8237A5 #A54B37 #5AA537 #3791A5
square
#8237A5 #A54B37 #5AA537 #3791A5
split-complementary
#8237A5 #91A537 #37A54B
monochromatic
#3A1849 #5E2877 #8237A5 #A153C6 #BA81D5

Accessibility & contrast

On white

6.91
#8237A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8237A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237A5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237A5#FFFFFF#000000##FFFFFF
##8237A51.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#305CA2
Tritanopia (blue-blind)
#7E4D69
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8237a5;
/* rgb */ color: rgb(130, 55, 165);
/* oklch */ color: oklch(48.9% 0.176 313.1);
Tailwind
colors: {
  custom: {
    50: '#aa73c0',
    500: '#8237a5',
    950: '#000000',
  },
}
SCSS
$custom: #8237a5;
$custom-light: #aa73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8237a5",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 280.909,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48899,
    "c": 0.17628,
    "h": 313.1
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#8237A5
secondary
#8FBF79
accent
#DA4E7B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8237A5

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

Preview Lab → · Contrast checker → · Palette generator →

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