#8047BC#8047BC

#8047BC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.178 H 303.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8047BC
RGBrgb(128, 71, 188)
HSLhsl(269, 47%, 51%)
HSVhsv(269, 62%, 74%)
CMYKcmyk(31.9%, 62.2%, 0%, 26.3%)
CIE-LABlab(42.35, 47.03, -52.62)
CIE-LCHlch(42.35, 70.58, 311.79°)
OKLaboklab(52.33% 0.0975 -0.1491)
OKLCHoklch(52.33% 0.178 303.2)
XYZxyz(20.2303, 12.7265, 48.9579)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047BC #83BC47
analogous
#4748BC #8047BC #BB47BC
triadic
#8047BC #BC8047 #47BC80
tetradic
#8047BC #BC4748 #83BC47 #47BCBB
square
#8047BC #BC4748 #83BC47 #47BCBB
split-complementary
#8047BC #BCBB47 #48BC47
monochromatic
#432464 #623591 #8047BC #9F74CC #BEA1DD

Accessibility & contrast

On white

5.92
#8047BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8047BC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047BC#FFFFFF#000000##FFFFFF
##8047BC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#2564B9
Tritanopia (blue-blind)
#75607B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8047bc;
/* rgb */ color: rgb(128, 71, 188);
/* oklch */ color: oklch(52.3% 0.178 303.2);
Tailwind
colors: {
  custom: {
    50: '#a97dd1',
    500: '#8047bc',
    950: '#000000',
  },
}
SCSS
$custom: #8047bc;
$custom-light: #a97dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8047bc",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 269.231,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.17819,
    "h": 303.2
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#8047BC
secondary
#B0C995
accent
#D65296
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8047BC

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

Preview Lab → · Contrast checker → · Palette generator →

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