#8037C2#8037C2

#8037C2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.206 H 303.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8037C2
RGBrgb(128, 55, 194)
HSLhsl(272, 56%, 49%)
HSVhsv(272, 72%, 76%)
CMYKcmyk(34%, 71.6%, 0%, 23.9%)
CIE-LABlab(39.94, 56.28, -60.02)
CIE-LCHlch(39.94, 82.28, 313.16°)
OKLaboklab(50.73% 0.1144 -0.1708)
OKLCHoklch(50.73% 0.206 303.8)
XYZxyz(20.0036, 11.2167, 52.1397)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037C2 #79C237
analogous
#3B37C2 #8037C2 #C237BF
triadic
#8037C2 #C28037 #37C280
tetradic
#8037C2 #C23B37 #79C237 #37BFC2
square
#8037C2 #C23B37 #79C237 #37BFC2
split-complementary
#8037C2 #BFC237 #37C23B
monochromatic
#411C63 #612992 #8037C2 #9E63D3 #BC93E0

Accessibility & contrast

On white

6.47
#8037C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8037C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037C2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037C2#FFFFFF#000000##FFFFFF
##8037C21.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#735879
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8037c2;
/* rgb */ color: rgb(128, 55, 194);
/* oklch */ color: oklch(50.7% 0.206 303.8);
Tailwind
colors: {
  custom: {
    50: '#aa74d5',
    500: '#8037c2',
    950: '#000000',
  },
}
SCSS
$custom: #8037c2;
$custom-light: #aa74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8037c2",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 271.511,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50734,
    "c": 0.20556,
    "h": 303.8
  },
  "luminance": 0.11217
}

Semantic roles & 50–950 ramp

primary
#8037C2
secondary
#A9CB89
accent
#DF4990
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8037C2

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

Preview Lab → · Contrast checker → · Palette generator →

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