#8037CC#8037CC

#8037CC is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.216 H 301.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8037CC
RGBrgb(128, 55, 204)
HSLhsl(269, 59%, 51%)
HSVhsv(269, 73%, 80%)
CMYKcmyk(37.3%, 73%, 0%, 20%)
CIE-LABlab(40.70, 58.64, -64.60)
CIE-LCHlch(40.70, 87.24, 312.23°)
OKLaboklab(51.51% 0.1125 -0.1843)
OKLCHoklch(51.51% 0.216 301.4)
XYZxyz(21.1647, 11.6811, 58.2547)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037CC #83CC37
analogous
#3738CC #8037CC #CB37CC
triadic
#8037CC #CC8037 #37CC80
tetradic
#8037CC #CC3738 #83CC37 #37CCCB
square
#8037CC #CC3738 #83CC37 #37CCCB
split-complementary
#8037CC #CCCB37 #38CC37
monochromatic
#431C6D #62289E #8037CC #9F68D8 #BE99E5

Accessibility & contrast

On white

6.29
#8037CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8037CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037CC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037CC#FFFFFF#000000##FFFFFF
##8037CC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#6F5C7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8037cc;
/* rgb */ color: rgb(128, 55, 204);
/* oklch */ color: oklch(51.5% 0.216 301.4);
Tailwind
colors: {
  custom: {
    50: '#ab75dd',
    500: '#8037cc',
    950: '#000000',
  },
}
SCSS
$custom: #8037cc;
$custom-light: #ab75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8037cc",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 269.396,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.21587,
    "h": 301.4
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#8037CC
secondary
#B0D08E
accent
#E34595
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8037CC

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

Preview Lab → · Contrast checker → · Palette generator →

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