#8237AA#8237AA

#8237AA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.181 H 311.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8237AA
RGBrgb(130, 55, 170)
HSLhsl(279, 51%, 44%)
HSVhsv(279, 68%, 67%)
CMYKcmyk(23.5%, 67.6%, 0%, 33.3%)
CIE-LABlab(38.52, 51.22, -48.15)
CIE-LCHlch(38.52, 70.29, 316.77°)
OKLaboklab(49.24% 0.1202 -0.1359)
OKLCHoklch(49.24% 0.181 311.5)
XYZxyz(17.8265, 10.3809, 39.0871)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237AA #5FAA37
analogous
#4837AA #8237AA #AA3799
triadic
#8237AA #AA8237 #37AA82
tetradic
#8237AA #AA4837 #5FAA37 #3799AA
square
#8237AA #AA4837 #5FAA37 #3799AA
split-complementary
#8237AA #99AA37 #37AA48
monochromatic
#3B194E #5F287C #8237AA #A156C8 #BA84D7

Accessibility & contrast

On white

6.83
#8237AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8237AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8237AA#FFFFFF#000000##FFFFFF
##8237AA1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#2A5CA7
Tritanopia (blue-blind)
#7D4F6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8237aa;
/* rgb */ color: rgb(130, 55, 170);
/* oklch */ color: oklch(49.2% 0.181 311.5);
Tailwind
colors: {
  custom: {
    50: '#aa73c4',
    500: '#8237aa',
    950: '#000000',
  },
}
SCSS
$custom: #8237aa;
$custom-light: #aa73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8237aa",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 279.13,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49238,
    "c": 0.18138,
    "h": 311.5
  },
  "luminance": 0.1038
}

Semantic roles & 50–950 ramp

primary
#8237AA
secondary
#94C17C
accent
#DB4D7E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8237AA

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

Preview Lab → · Contrast checker → · Palette generator →

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