#8047C2#8047C2

#8047C2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.185 H 301.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8047C2
RGBrgb(128, 71, 194)
HSLhsl(268, 50%, 52%)
HSVhsv(268, 63%, 76%)
CMYKcmyk(34%, 63.4%, 0%, 23.9%)
CIE-LABlab(42.75, 48.52, -55.47)
CIE-LCHlch(42.75, 73.70, 311.17°)
OKLaboklab(52.75% 0.0972 -0.1575)
OKLCHoklch(52.75% 0.185 301.7)
XYZxyz(20.8906, 12.9906, 52.4353)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047C2 #89C247
analogous
#474CC2 #8047C2 #BE47C2
triadic
#8047C2 #C28047 #47C280
tetradic
#8047C2 #C2474C #89C247 #47C2BE
square
#8047C2 #C2474C #89C247 #47C2BE
split-complementary
#8047C2 #C2BE47 #4CC247
monochromatic
#45246B #623399 #8047C2 #A075D1 #BFA3E0

Accessibility & contrast

On white

5.84
#8047C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8047C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047C2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047C2#FFFFFF#000000##FFFFFF
##8047C21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#1A64BF
Tritanopia (blue-blind)
#72627E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8047c2;
/* rgb */ color: rgb(128, 71, 194);
/* oklch */ color: oklch(52.7% 0.185 301.7);
Tailwind
colors: {
  custom: {
    50: '#a97dd5',
    500: '#8047c2',
    950: '#000000',
  },
}
SCSS
$custom: #8047c2;
$custom-light: #a97dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8047c2",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 267.805,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52745,
    "c": 0.18508,
    "h": 301.7
  },
  "luminance": 0.12991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8047C2

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

Preview Lab → · Contrast checker → · Palette generator →

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