#8047CE#8047CE

#8047CE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.199 H 298.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8047CE
RGBrgb(128, 71, 206)
HSLhsl(265, 58%, 54%)
HSVhsv(265, 66%, 81%)
CMYKcmyk(37.9%, 65.5%, 0%, 19.2%)
CIE-LABlab(43.58, 51.53, -61.08)
CIE-LCHlch(43.58, 79.91, 310.15°)
OKLaboklab(53.61% 0.0961 -0.174)
OKLCHoklch(53.61% 0.199 298.9)
XYZxyz(22.2931, 13.5516, 59.8218)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047CE #95CE47
analogous
#4752CE #8047CE #C347CE
triadic
#8047CE #CE8047 #47CE80
tetradic
#8047CE #CE4752 #95CE47 #47CEC3
square
#8047CE #CE4752 #95CE47 #47CEC3
split-complementary
#8047CE #CEC347 #52CE47
monochromatic
#46217A #622DAA #8047CE #A177DB #C3A8E8

Accessibility & contrast

On white

5.66
#8047CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8047CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047CE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047CE#FFFFFF#000000##FFFFFF
##8047CE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#6E6684
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8047ce;
/* rgb */ color: rgb(128, 71, 206);
/* oklch */ color: oklch(53.6% 0.199 298.9);
Tailwind
colors: {
  custom: {
    50: '#aa7ede',
    500: '#8047ce',
    950: '#000000',
  },
}
SCSS
$custom: #8047ce;
$custom-light: #aa7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8047ce",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 265.333,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.19875,
    "h": 298.9
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#8047CE
secondary
#BDD59C
accent
#E147A0
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8047CE

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

Preview Lab → · Contrast checker → · Palette generator →

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