#8037C0#8037C0

#8037C0 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.203 H 304.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8037C0
RGBrgb(128, 55, 192)
HSLhsl(272, 55%, 48%)
HSVhsv(272, 71%, 75%)
CMYKcmyk(33.3%, 71.4%, 0%, 24.7%)
CIE-LABlab(39.79, 55.81, -59.09)
CIE-LCHlch(39.79, 81.28, 313.37°)
OKLaboklab(50.58% 0.1147 -0.1681)
OKLCHoklch(50.58% 0.203 304.3)
XYZxyz(19.7805, 11.1274, 50.9647)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037C0 #77C037
analogous
#3B37C0 #8037C0 #C037BB
triadic
#8037C0 #C08037 #37C080
tetradic
#8037C0 #C03B37 #77C037 #37BBC0
square
#8037C0 #C03B37 #77C037 #37BBC0
split-complementary
#8037C0 #BBC037 #37C03B
monochromatic
#411C61 #602990 #8037C0 #9E62D2 #BB92E0

Accessibility & contrast

On white

6.51
#8037C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8037C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037C0
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037C0#FFFFFF#000000##FFFFFF
##8037C01.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#745778
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8037c0;
/* rgb */ color: rgb(128, 55, 192);
/* oklch */ color: oklch(50.6% 0.203 304.3);
Tailwind
colors: {
  custom: {
    50: '#aa74d4',
    500: '#8037c0',
    950: '#000000',
  },
}
SCSS
$custom: #8037c0;
$custom-light: #aa74d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8037c0",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 271.971,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.20349,
    "h": 304.3
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#8037C0
secondary
#A7CB88
accent
#DF498F
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8037C0

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

Preview Lab → · Contrast checker → · Palette generator →

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