#8037BD#8037BD

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

Color values

HEX#8037BD
RGBrgb(128, 55, 189)
HSLhsl(273, 55%, 48%)
HSVhsv(273, 71%, 74%)
CMYKcmyk(32.3%, 70.9%, 0%, 25.9%)
CIE-LABlab(39.57, 55.11, -57.69)
CIE-LCHlch(39.57, 79.78, 313.69°)
OKLaboklab(50.36% 0.1152 -0.164)
OKLCHoklch(50.36% 0.2 305.1)
XYZxyz(19.4515, 10.9958, 49.2319)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037BD #74BD37
analogous
#3D37BD #8037BD #BD37B7
triadic
#8037BD #BD8037 #37BD80
tetradic
#8037BD #BD3D37 #74BD37 #37B7BD
square
#8037BD #BD3D37 #74BD37 #37B7BD
split-complementary
#8037BD #B7BD37 #37BD3D
monochromatic
#401B5E #60298E #8037BD #9E60D1 #BB90DF

Accessibility & contrast

On white

6.56
#8037BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8037BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037BD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037BD#FFFFFF#000000##FFFFFF
##8037BD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#755676
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8037bd;
/* rgb */ color: rgb(128, 55, 189);
/* oklch */ color: oklch(50.4% 0.200 305.1);
Tailwind
colors: {
  custom: {
    50: '#aa74d2',
    500: '#8037bd',
    950: '#000000',
  },
}
SCSS
$custom: #8037bd;
$custom-light: #aa74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8037bd",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 272.687,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.20039,
    "h": 305.1
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#8037BD
secondary
#A5C986
accent
#DE4A8D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8037BD

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

Preview Lab → · Contrast checker → · Palette generator →

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