#8047BF#8047BF

#8047BF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.182 H 302.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8047BF
RGBrgb(128, 71, 191)
HSLhsl(269, 48%, 51%)
HSVhsv(269, 63%, 75%)
CMYKcmyk(33%, 62.8%, 0%, 25.1%)
CIE-LABlab(42.55, 47.77, -54.05)
CIE-LCHlch(42.55, 72.14, 311.47°)
OKLaboklab(52.53% 0.0974 -0.1533)
OKLCHoklch(52.53% 0.182 302.4)
XYZxyz(20.5571, 12.8572, 50.6788)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047BF #86BF47
analogous
#474ABF #8047BF #BC47BF
triadic
#8047BF #BF8047 #47BF80
tetradic
#8047BF #BF474A #86BF47 #47BFBC
square
#8047BF #BF474A #86BF47 #47BFBC
split-complementary
#8047BF #BFBC47 #4ABF47
monochromatic
#442468 #623495 #8047BF #9F74CF #BFA2DF

Accessibility & contrast

On white

5.88
#8047BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8047BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047BF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047BF#FFFFFF#000000##FFFFFF
##8047BF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#2064BC
Tritanopia (blue-blind)
#73617C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8047bf;
/* rgb */ color: rgb(128, 71, 191);
/* oklch */ color: oklch(52.5% 0.182 302.4);
Tailwind
colors: {
  custom: {
    50: '#a97dd3',
    500: '#8047bf',
    950: '#000000',
  },
}
SCSS
$custom: #8047bf;
$custom-light: #a97dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8047bf",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 268.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.18164,
    "h": 302.4
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8047BF

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

Preview Lab → · Contrast checker → · Palette generator →

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