#8237A2#8237A2

#8237A2 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.173 H 314.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8237A2
RGBrgb(130, 55, 162)
HSLhsl(282, 49%, 43%)
HSVhsv(282, 66%, 64%)
CMYKcmyk(19.8%, 66%, 0%, 36.5%)
CIE-LABlab(38.00, 49.47, -44.19)
CIE-LCHlch(38.00, 66.33, 318.23°)
OKLaboklab(48.7% 0.1207 -0.1243)
OKLCHoklch(48.7% 0.173 314.2)
XYZxyz(17.0926, 10.0874, 35.2221)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237A2 #57A237
analogous
#4C37A2 #8237A2 #A2378D
triadic
#8237A2 #A28237 #37A282
tetradic
#8237A2 #A24C37 #57A237 #378DA2
square
#8237A2 #A24C37 #57A237 #378DA2
split-complementary
#8237A2 #8DA237 #37A24C
monochromatic
#391847 #5D2774 #8237A2 #A252C4 #BB80D4

Accessibility & contrast

On white

6.96
#8237A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8237A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237A2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237A2#FFFFFF#000000##FFFFFF
##8237A21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A5
Deuteranopia (green-blind)
#335B9F
Tritanopia (blue-blind)
#7F4C68
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8237a2;
/* rgb */ color: rgb(130, 55, 162);
/* oklch */ color: oklch(48.7% 0.173 314.2);
Tailwind
colors: {
  custom: {
    50: '#aa73be',
    500: '#8237a2',
    950: '#000000',
  },
}
SCSS
$custom: #8237a2;
$custom-light: #aa73be;
$custom-dark: #000000;
JSON
{
  "hex": "#8237a2",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 282.056,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48699,
    "c": 0.17322,
    "h": 314.2
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#8237A2
secondary
#8CBD78
accent
#D94F78
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8237A2

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

Preview Lab → · Contrast checker → · Palette generator →

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