#8037C3#8037C3

#8037C3 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.207 H 303.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8037C3
RGBrgb(128, 55, 195)
HSLhsl(271, 56%, 49%)
HSVhsv(271, 72%, 76%)
CMYKcmyk(34.4%, 71.8%, 0%, 23.5%)
CIE-LABlab(40.02, 56.51, -60.48)
CIE-LCHlch(40.02, 82.77, 313.06°)
OKLaboklab(50.81% 0.1142 -0.1722)
OKLCHoklch(50.81% 0.207 303.6)
XYZxyz(20.1163, 11.2617, 52.7331)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037C3 #7AC337
analogous
#3A37C3 #8037C3 #C337C0
triadic
#8037C3 #C38037 #37C380
tetradic
#8037C3 #C33A37 #7AC337 #37C0C3
square
#8037C3 #C33A37 #7AC337 #37C0C3
split-complementary
#8037C3 #C0C337 #37C33A
monochromatic
#411C64 #612A93 #8037C3 #9E64D3 #BC94E1

Accessibility & contrast

On white

6.46
#8037C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8037C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037C3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037C3#FFFFFF#000000##FFFFFF
##8037C31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#73597A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8037c3;
/* rgb */ color: rgb(128, 55, 195);
/* oklch */ color: oklch(50.8% 0.207 303.6);
Tailwind
colors: {
  custom: {
    50: '#aa74d6',
    500: '#8037c3',
    950: '#000000',
  },
}
SCSS
$custom: #8037c3;
$custom-light: #aa74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8037c3",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 271.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.20659,
    "h": 303.6
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#8037C3
secondary
#A9CC8A
accent
#DF4991
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8037C3

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

Preview Lab → · Contrast checker → · Palette generator →

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