#8037D6#8037D6

#8037D6 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.226 H 299.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8037D6
RGBrgb(128, 55, 214)
HSLhsl(268, 66%, 53%)
HSVhsv(268, 74%, 84%)
CMYKcmyk(40.2%, 74.3%, 0%, 16.1%)
CIE-LABlab(41.49, 61.03, -69.08)
CIE-LCHlch(41.49, 92.18, 311.46°)
OKLaboklab(52.31% 0.1103 -0.1974)
OKLCHoklch(52.31% 0.226 299.2)
XYZxyz(22.4028, 12.1763, 64.7753)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037D6 #8DD637
analogous
#373ED6 #8037D6 #CF37D6
triadic
#8037D6 #D68037 #37D680
tetradic
#8037D6 #D6373E #8DD637 #37D6CF
square
#8037D6 #D6373E #8DD637 #37D6CF
split-complementary
#8037D6 #D6CF37 #3ED637
monochromatic
#45197A #6223AC #8037D6 #A06AE0 #C19DEB

Accessibility & contrast

On white

6.11
#8037D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8037D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037D6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037D6#FFFFFF#000000##FFFFFF
##8037D61.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#6B6084
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8037d6;
/* rgb */ color: rgb(128, 55, 214);
/* oklch */ color: oklch(52.3% 0.226 299.2);
Tailwind
colors: {
  custom: {
    50: '#ac75e4',
    500: '#8037d6',
    950: '#000000',
  },
}
SCSS
$custom: #8037d6;
$custom-light: #ac75e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8037d6",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 214
  },
  "hsl": {
    "h": 267.547,
    "s": 65.975,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52314,
    "c": 0.22614,
    "h": 299.2
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#8037D6
secondary
#B7D792
accent
#E93F9B
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8037D6

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

Preview Lab → · Contrast checker → · Palette generator →

#8037D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva