#8037C9#8037C9

#8037C9 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.213 H 302.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8037C9
RGBrgb(128, 55, 201)
HSLhsl(270, 57%, 50%)
HSVhsv(270, 73%, 79%)
CMYKcmyk(36.3%, 72.6%, 0%, 21.2%)
CIE-LABlab(40.47, 57.93, -63.23)
CIE-LCHlch(40.47, 85.76, 312.49°)
OKLaboklab(51.28% 0.1131 -0.1803)
OKLCHoklch(51.28% 0.213 302.1)
XYZxyz(20.8084, 11.5385, 56.3779)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037C9 #80C937
analogous
#3737C9 #8037C9 #C937C9
triadic
#8037C9 #C98037 #37C980
tetradic
#8037C9 #C93737 #80C937 #37C9C9
square
#8037C9 #C93737 #80C937 #37C9C9
split-complementary
#8037C9 #C9C937 #37C937
monochromatic
#431C69 #612999 #8037C9 #9F67D6 #BD97E3

Accessibility & contrast

On white

6.35
#8037C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8037C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037C9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037C9#FFFFFF#000000##FFFFFF
##8037C91.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#715B7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8037c9;
/* rgb */ color: rgb(128, 55, 201);
/* oklch */ color: oklch(51.3% 0.213 302.1);
Tailwind
colors: {
  custom: {
    50: '#ab74da',
    500: '#8037c9',
    950: '#000000',
  },
}
SCSS
$custom: #8037c9;
$custom-light: #ab74da;
$custom-dark: #000000;
JSON
{
  "hex": "#8037c9",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 270,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.21278,
    "h": 302.1
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#8037C9
secondary
#AECF8D
accent
#E14794
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8037C9

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

Preview Lab → · Contrast checker → · Palette generator →

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