#8037B7#8037B7

#8037B7 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.9% C 0.194 H 306.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8037B7
RGBrgb(128, 55, 183)
HSLhsl(274, 54%, 47%)
HSVhsv(274, 70%, 72%)
CMYKcmyk(30.1%, 69.9%, 0%, 28.2%)
CIE-LABlab(39.14, 53.72, -54.86)
CIE-LCHlch(39.14, 76.78, 314.40°)
OKLaboklab(49.91% 0.1161 -0.1557)
OKLCHoklch(49.91% 0.194 306.7)
XYZxyz(18.8137, 10.7407, 45.8726)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037B7 #6EB737
analogous
#4037B7 #8037B7 #B737AE
triadic
#8037B7 #B78037 #37B780
tetradic
#8037B7 #B74037 #6EB737 #37AEB7
square
#8037B7 #B74037 #6EB737 #37AEB7
split-complementary
#8037B7 #AEB737 #37B740
monochromatic
#3E1B59 #5F2988 #8037B7 #9E5DCE #BA8CDC

Accessibility & contrast

On white

6.67
#8037B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8037B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037B7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037B7#FFFFFF#000000##FFFFFF
##8037B71.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#0E5DB4
Tritanopia (blue-blind)
#775473
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8037b7;
/* rgb */ color: rgb(128, 55, 183);
/* oklch */ color: oklch(49.9% 0.194 306.7);
Tailwind
colors: {
  custom: {
    50: '#a974cd',
    500: '#8037b7',
    950: '#000000',
  },
}
SCSS
$custom: #8037b7;
$custom-light: #a974cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8037b7",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 274.219,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4991,
    "c": 0.19418,
    "h": 306.7
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#8037B7
secondary
#A0C783
accent
#DD4B8A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #8037B7

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

Preview Lab → · Contrast checker → · Palette generator →

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