#8037BE#8037BE

#8037BE is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.201 H 304.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8037BE
RGBrgb(128, 55, 190)
HSLhsl(272, 55%, 48%)
HSVhsv(272, 71%, 75%)
CMYKcmyk(32.6%, 71.1%, 0%, 25.5%)
CIE-LABlab(39.65, 55.34, -58.16)
CIE-LCHlch(39.65, 80.28, 313.58°)
OKLaboklab(50.43% 0.115 -0.1653)
OKLCHoklch(50.43% 0.201 304.8)
XYZxyz(19.5604, 11.0394, 49.8055)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037BE #75BE37
analogous
#3C37BE #8037BE #BE37B9
triadic
#8037BE #BE8037 #37BE80
tetradic
#8037BE #BE3C37 #75BE37 #37B9BE
square
#8037BE #BE3C37 #75BE37 #37B9BE
split-complementary
#8037BE #B9BE37 #37BE3C
monochromatic
#401C5F #60298F #8037BE #9E61D1 #BB90DF

Accessibility & contrast

On white

6.55
#8037BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8037BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037BE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037BE#FFFFFF#000000##FFFFFF
##8037BE1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#745777
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8037be;
/* rgb */ color: rgb(128, 55, 190);
/* oklch */ color: oklch(50.4% 0.201 304.8);
Tailwind
colors: {
  custom: {
    50: '#aa74d2',
    500: '#8037be',
    950: '#000000',
  },
}
SCSS
$custom: #8037be;
$custom-light: #aa74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8037be",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 272.444,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.20142,
    "h": 304.8
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#8037BE
secondary
#A6CA87
accent
#DE498E
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8037BE

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

Preview Lab → · Contrast checker → · Palette generator →

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