#8237AC#8237AC

#8237AC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.183 H 310.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8237AC
RGBrgb(130, 55, 172)
HSLhsl(278, 52%, 45%)
HSVhsv(278, 68%, 67%)
CMYKcmyk(24.4%, 68%, 0%, 32.5%)
CIE-LABlab(38.65, 51.66, -49.12)
CIE-LCHlch(38.65, 71.29, 316.44°)
OKLaboklab(49.38% 0.12 -0.1387)
OKLCHoklch(49.38% 0.183 310.9)
XYZxyz(18.0171, 10.4572, 40.0910)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237AC #61AC37
analogous
#4837AC #8237AC #AC379B
triadic
#8237AC #AC8237 #37AC82
tetradic
#8237AC #AC4837 #61AC37 #379BAC
square
#8237AC #AC4837 #61AC37 #379BAC
split-complementary
#8237AC #9BAC37 #37AC48
monochromatic
#3C194F #5F287E #8237AC #A057C9 #BA85D8

Accessibility & contrast

On white

6.79
#8237AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8237AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8237AC#FFFFFF#000000##FFFFFF
##8237AC1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#285CA9
Tritanopia (blue-blind)
#7D4F6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8237ac;
/* rgb */ color: rgb(130, 55, 172);
/* oklch */ color: oklch(49.4% 0.183 310.9);
Tailwind
colors: {
  custom: {
    50: '#aa74c5',
    500: '#8237ac',
    950: '#000000',
  },
}
SCSS
$custom: #8237ac;
$custom-light: #aa74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8237ac",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 278.462,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.18343,
    "h": 310.9
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#8237AC
secondary
#96C27D
accent
#DB4D80
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8237AC

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

Preview Lab → · Contrast checker → · Palette generator →

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