#8037B2#8037B2

#8037B2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.189 H 308.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8037B2
RGBrgb(128, 55, 178)
HSLhsl(276, 53%, 46%)
HSVhsv(276, 69%, 70%)
CMYKcmyk(28.1%, 69.1%, 0%, 30.2%)
CIE-LABlab(38.79, 52.58, -52.48)
CIE-LCHlch(38.79, 74.28, 315.05°)
OKLaboklab(49.55% 0.1167 -0.1486)
OKLCHoklch(49.55% 0.189 308.1)
XYZxyz(18.3025, 10.5362, 43.1804)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037B2 #69B237
analogous
#4237B2 #8037B2 #B237A6
triadic
#8037B2 #B28037 #37B280
tetradic
#8037B2 #B24237 #69B237 #37A6B2
square
#8037B2 #B24237 #69B237 #37A6B2
split-complementary
#8037B2 #A6B237 #37B242
monochromatic
#3D1A54 #5E2983 #8037B2 #9E5ACC #B989DB

Accessibility & contrast

On white

6.76
#8037B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8037B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037B2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037B2#FFFFFF#000000##FFFFFF
##8037B21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#1B5CAF
Tritanopia (blue-blind)
#785270
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8037b2;
/* rgb */ color: rgb(128, 55, 178);
/* oklch */ color: oklch(49.5% 0.189 308.1);
Tailwind
colors: {
  custom: {
    50: '#a974ca',
    500: '#8037b2',
    950: '#000000',
  },
}
SCSS
$custom: #8037b2;
$custom-light: #a974ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8037b2",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 275.61,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.18899,
    "h": 308.1
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#8037B2
secondary
#9CC580
accent
#DC4C86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8037B2

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

Preview Lab → · Contrast checker → · Palette generator →

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