#8237A8#8237A8

#8237A8 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.179 H 312.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8237A8
RGBrgb(130, 55, 168)
HSLhsl(280, 51%, 44%)
HSVhsv(280, 67%, 66%)
CMYKcmyk(22.6%, 67.3%, 0%, 34.1%)
CIE-LABlab(38.39, 50.78, -47.16)
CIE-LCHlch(38.39, 69.30, 317.11°)
OKLaboklab(49.1% 0.1203 -0.133)
OKLCHoklch(49.1% 0.179 312.1)
XYZxyz(17.6387, 10.3058, 38.0982)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237A8 #5DA837
analogous
#4937A8 #8237A8 #A83795
triadic
#8237A8 #A88237 #37A882
tetradic
#8237A8 #A84937 #5DA837 #3795A8
square
#8237A8 #A84937 #5DA837 #3795A8
split-complementary
#8237A8 #95A837 #37A849
monochromatic
#3B194C #5E287A #8237A8 #A155C7 #BA83D6

Accessibility & contrast

On white

6.86
#8237A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8237A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8237A8#FFFFFF#000000##FFFFFF
##8237A81.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#2C5CA5
Tritanopia (blue-blind)
#7E4E6B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8237a8;
/* rgb */ color: rgb(130, 55, 168);
/* oklch */ color: oklch(49.1% 0.179 312.1);
Tailwind
colors: {
  custom: {
    50: '#aa73c2',
    500: '#8237a8',
    950: '#000000',
  },
}
SCSS
$custom: #8237a8;
$custom-light: #aa73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8237a8",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 279.823,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.17933,
    "h": 312.1
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#8237A8
secondary
#92C07B
accent
#DA4E7D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8237A8

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

Preview Lab → · Contrast checker → · Palette generator →

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