#8047C1#8047C1

#8047C1 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.184 H 301.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8047C1
RGBrgb(128, 71, 193)
HSLhsl(268, 50%, 52%)
HSVhsv(268, 63%, 76%)
CMYKcmyk(33.7%, 63.2%, 0%, 24.3%)
CIE-LABlab(42.68, 48.27, -55.00)
CIE-LCHlch(42.68, 73.18, 311.27°)
OKLaboklab(52.67% 0.0972 -0.1561)
OKLCHoklch(52.67% 0.184 301.9)
XYZxyz(20.7787, 12.9459, 51.8458)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047C1 #88C147
analogous
#474BC1 #8047C1 #BD47C1
triadic
#8047C1 #C18047 #47C180
tetradic
#8047C1 #C1474B #88C147 #47C1BD
square
#8047C1 #C1474B #88C147 #47C1BD
split-complementary
#8047C1 #C1BD47 #4BC147
monochromatic
#44246A #623398 #8047C1 #A075D0 #BFA3E0

Accessibility & contrast

On white

5.85
#8047C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8047C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047C1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047C1#FFFFFF#000000##FFFFFF
##8047C11.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#1D64BE
Tritanopia (blue-blind)
#73617D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8047c1;
/* rgb */ color: rgb(128, 71, 193);
/* oklch */ color: oklch(52.7% 0.184 301.9);
Tailwind
colors: {
  custom: {
    50: '#a97dd4',
    500: '#8047c1',
    950: '#000000',
  },
}
SCSS
$custom: #8047c1;
$custom-light: #a97dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8047c1",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 193
  },
  "hsl": {
    "h": 268.033,
    "s": 49.593,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52674,
    "c": 0.18393,
    "h": 301.9
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#8047C1
secondary
#B4CD97
accent
#D94F98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8047C1

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

Preview Lab → · Contrast checker → · Palette generator →

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