#8237AD#8237AD

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

Color values

HEX#8237AD
RGBrgb(130, 55, 173)
HSLhsl(278, 52%, 45%)
HSVhsv(278, 68%, 68%)
CMYKcmyk(24.9%, 68.2%, 0%, 32.2%)
CIE-LABlab(38.72, 51.88, -49.61)
CIE-LCHlch(38.72, 71.78, 316.28°)
OKLaboklab(49.45% 0.1199 -0.1402)
OKLCHoklch(49.45% 0.184 310.5)
XYZxyz(18.1135, 10.4957, 40.5987)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237AD #62AD37
analogous
#4737AD #8237AD #AD379D
triadic
#8237AD #AD8237 #37AD82
tetradic
#8237AD #AD4737 #62AD37 #379DAD
square
#8237AD #AD4737 #62AD37 #379DAD
split-complementary
#8237AD #9DAD37 #37AD47
monochromatic
#3C1950 #5F287F #8237AD #A057CA #BA86D8

Accessibility & contrast

On white

6.78
#8237AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8237AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8237AD#FFFFFF#000000##FFFFFF
##8237AD1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#265CAA
Tritanopia (blue-blind)
#7C506E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8237ad;
/* rgb */ color: rgb(130, 55, 173);
/* oklch */ color: oklch(49.4% 0.184 310.5);
Tailwind
colors: {
  custom: {
    50: '#aa74c6',
    500: '#8237ad',
    950: '#000000',
  },
}
SCSS
$custom: #8237ad;
$custom-light: #aa74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8237ad",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 278.136,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49446,
    "c": 0.18445,
    "h": 310.5
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#8237AD
secondary
#97C27D
accent
#DB4D81
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8237AD

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

Preview Lab → · Contrast checker → · Palette generator →

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