#8047BE#8047BE

#8047BE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.180 H 302.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8047BE
RGBrgb(128, 71, 190)
HSLhsl(269, 48%, 51%)
HSVhsv(269, 63%, 75%)
CMYKcmyk(32.6%, 62.6%, 0%, 25.5%)
CIE-LABlab(42.48, 47.52, -53.58)
CIE-LCHlch(42.48, 71.62, 311.57°)
OKLaboklab(52.47% 0.0974 -0.1519)
OKLCHoklch(52.47% 0.18 302.7)
XYZxyz(20.4474, 12.8134, 50.1012)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047BE #85BE47
analogous
#4749BE #8047BE #BB47BE
triadic
#8047BE #BE8047 #47BE80
tetradic
#8047BE #BE4749 #85BE47 #47BEBB
square
#8047BE #BE4749 #85BE47 #47BEBB
split-complementary
#8047BE #BEBB47 #49BE47
monochromatic
#442466 #623494 #8047BE #9F74CE #BEA1DE

Accessibility & contrast

On white

5.89
#8047BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8047BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047BE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047BE#FFFFFF#000000##FFFFFF
##8047BE1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#2264BB
Tritanopia (blue-blind)
#74607C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8047be;
/* rgb */ color: rgb(128, 71, 190);
/* oklch */ color: oklch(52.5% 0.180 302.7);
Tailwind
colors: {
  custom: {
    50: '#a97dd2',
    500: '#8047be',
    950: '#000000',
  },
}
SCSS
$custom: #8047be;
$custom-light: #a97dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8047be",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 268.739,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52465,
    "c": 0.18049,
    "h": 302.7
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#8047BE
secondary
#B2CB96
accent
#D75097
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8047BE

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

Preview Lab → · Contrast checker → · Palette generator →

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