#8A37D0#8A37D0

#8A37D0 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.222 H 304.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A37D0
RGBrgb(138, 55, 208)
HSLhsl(273, 62%, 52%)
HSVhsv(273, 74%, 82%)
CMYKcmyk(33.7%, 73.6%, 0%, 18.4%)
CIE-LABlab(42.29, 61.35, -64.27)
CIE-LCHlch(42.29, 88.85, 313.67°)
OKLaboklab(53% 0.1255 -0.183)
OKLCHoklch(53% 0.222 304.4)
XYZxyz(23.2300, 12.6898, 60.8878)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37D0 #7DD037
analogous
#3E37D0 #8A37D0 #D037CA
triadic
#8A37D0 #D08A37 #37D08A
tetradic
#8A37D0 #D03E37 #7DD037 #37CAD0
square
#8A37D0 #D03E37 #7DD037 #37CAD0
split-complementary
#8A37D0 #CAD037 #37D03E
monochromatic
#4A1B72 #6A26A3 #8A37D0 #A769DC #C49AE7

Accessibility & contrast

On white

5.94
#8A37D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8A37D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37D0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37D0#FFFFFF#000000##FFFFFF
##8A37D01.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#7D5D81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a37d0;
/* rgb */ color: rgb(138, 55, 208);
/* oklch */ color: oklch(53.0% 0.222 304.4);
Tailwind
colors: {
  custom: {
    50: '#b276df',
    500: '#8a37d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a37d0;
$custom-light: #b276df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37d0",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 272.549,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53004,
    "c": 0.22185,
    "h": 304.4
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#8A37D0
secondary
#AFD390
accent
#E5438D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8A37D0

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

Preview Lab → · Contrast checker → · Palette generator →

#8A37D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva