#8237A3#8237A3

#8237A3 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.8% C 0.174 H 313.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8237A3
RGBrgb(130, 55, 163)
HSLhsl(282, 50%, 43%)
HSVhsv(282, 66%, 64%)
CMYKcmyk(20.2%, 66.3%, 0%, 36.1%)
CIE-LABlab(38.06, 49.69, -44.69)
CIE-LCHlch(38.06, 66.83, 318.03°)
OKLaboklab(48.77% 0.1206 -0.1257)
OKLCHoklch(48.77% 0.174 313.8)
XYZxyz(17.1818, 10.1231, 35.6921)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237A3 #58A337
analogous
#4C37A3 #8237A3 #A3378E
triadic
#8237A3 #A38237 #37A382
tetradic
#8237A3 #A34C37 #58A337 #378EA3
square
#8237A3 #A34C37 #58A337 #378EA3
split-complementary
#8237A3 #8EA337 #37A34C
monochromatic
#391847 #5E2875 #8237A3 #A252C5 #BB80D4

Accessibility & contrast

On white

6.94
#8237A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8237A3
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237A3#FFFFFF#000000##FFFFFF
##8237A31.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#7F4C68
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8237a3;
/* rgb */ color: rgb(130, 55, 163);
/* oklch */ color: oklch(48.8% 0.174 313.8);
Tailwind
colors: {
  custom: {
    50: '#aa73bf',
    500: '#8237a3',
    950: '#000000',
  },
}
SCSS
$custom: #8237a3;
$custom-light: #aa73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8237a3",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 281.667,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.17423,
    "h": 313.8
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#8237A3
secondary
#8DBE78
accent
#D94F79
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8237A3

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

Preview Lab → · Contrast checker → · Palette generator →

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