#8047C6#8047C6

#8047C6 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.190 H 300.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8047C6
RGBrgb(128, 71, 198)
HSLhsl(267, 53%, 53%)
HSVhsv(267, 64%, 78%)
CMYKcmyk(35.4%, 64.1%, 0%, 22.4%)
CIE-LABlab(43.02, 49.52, -57.36)
CIE-LCHlch(43.02, 75.77, 310.80°)
OKLaboklab(53.03% 0.0968 -0.1631)
OKLCHoklch(53.03% 0.19 300.7)
XYZxyz(21.3459, 13.1727, 54.8331)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047C6 #8DC647
analogous
#474EC6 #8047C6 #BF47C6
triadic
#8047C6 #C68047 #47C680
tetradic
#8047C6 #C6474E #8DC647 #47C6BF
square
#8047C6 #C6474E #8DC647 #47C6BF
split-complementary
#8047C6 #C6BF47 #4EC647
monochromatic
#452370 #62319F #8047C6 #A076D4 #C1A4E3

Accessibility & contrast

On white

5.78
#8047C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8047C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047C6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047C6#FFFFFF#000000##FFFFFF
##8047C61.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0F65C3
Tritanopia (blue-blind)
#716380
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8047c6;
/* rgb */ color: rgb(128, 71, 198);
/* oklch */ color: oklch(53.0% 0.190 300.7);
Tailwind
colors: {
  custom: {
    50: '#aa7dd8',
    500: '#8047c6',
    950: '#000000',
  },
}
SCSS
$custom: #8047c6;
$custom-light: #aa7dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8047c6",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 198
  },
  "hsl": {
    "h": 266.929,
    "s": 52.697,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.18965,
    "h": 300.7
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#8047C6
secondary
#B7D099
accent
#DC4C9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8047C6

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

Preview Lab → · Contrast checker → · Palette generator →

#8047C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva