#8047BD#8047BD

#8047BD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.179 H 302.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8047BD
RGBrgb(128, 71, 189)
HSLhsl(269, 47%, 51%)
HSVhsv(269, 62%, 74%)
CMYKcmyk(32.3%, 62.4%, 0%, 25.9%)
CIE-LABlab(42.41, 47.28, -53.10)
CIE-LCHlch(42.41, 71.10, 311.68°)
OKLaboklab(52.4% 0.0975 -0.1505)
OKLCHoklch(52.4% 0.179 302.9)
XYZxyz(20.3385, 12.7698, 49.5276)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047BD #84BD47
analogous
#4749BD #8047BD #BB47BD
triadic
#8047BD #BD8047 #47BD80
tetradic
#8047BD #BD4749 #84BD47 #47BDBB
square
#8047BD #BD4749 #84BD47 #47BDBB
split-complementary
#8047BD #BDBB47 #49BD47
monochromatic
#442465 #623492 #8047BD #9F74CD #BEA1DD

Accessibility & contrast

On white

5.91
#8047BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8047BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047BD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047BD#FFFFFF#000000##FFFFFF
##8047BD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#2464BA
Tritanopia (blue-blind)
#74607B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8047bd;
/* rgb */ color: rgb(128, 71, 189);
/* oklch */ color: oklch(52.4% 0.179 302.9);
Tailwind
colors: {
  custom: {
    50: '#a97dd2',
    500: '#8047bd',
    950: '#000000',
  },
}
SCSS
$custom: #8047bd;
$custom-light: #a97dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8047bd",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 268.983,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.17933,
    "h": 302.9
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#8047BD
secondary
#B1CA96
accent
#D75196
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8047BD

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

Preview Lab → · Contrast checker → · Palette generator →

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