#8237A7#8237A7

#8237A7 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.0% C 0.178 H 312.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8237A7
RGBrgb(130, 55, 167)
HSLhsl(280, 50%, 44%)
HSVhsv(280, 67%, 65%)
CMYKcmyk(22.2%, 67.1%, 0%, 34.5%)
CIE-LABlab(38.32, 50.56, -46.67)
CIE-LCHlch(38.32, 68.81, 317.29°)
OKLaboklab(49.03% 0.1204 -0.1315)
OKLCHoklch(49.03% 0.178 312.5)
XYZxyz(17.5459, 10.2687, 37.6095)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237A7 #5CA737
analogous
#4A37A7 #8237A7 #A73794
triadic
#8237A7 #A78237 #37A782
tetradic
#8237A7 #A74A37 #5CA737 #3794A7
square
#8237A7 #A74A37 #5CA737 #3794A7
split-complementary
#8237A7 #94A737 #37A74A
monochromatic
#3A194B #5E2879 #8237A7 #A154C7 #BA82D6

Accessibility & contrast

On white

6.88
#8237A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8237A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237A7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237A7#FFFFFF#000000##FFFFFF
##8237A71.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#2E5CA4
Tritanopia (blue-blind)
#7E4D6A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8237a7;
/* rgb */ color: rgb(130, 55, 167);
/* oklch */ color: oklch(49.0% 0.178 312.5);
Tailwind
colors: {
  custom: {
    50: '#aa73c2',
    500: '#8237a7',
    950: '#000000',
  },
}
SCSS
$custom: #8237a7;
$custom-light: #aa73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8237a7",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 280.179,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.17832,
    "h": 312.5
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#8237A7
secondary
#91C07A
accent
#DA4E7C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8237A7

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

Preview Lab → · Contrast checker → · Palette generator →

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