#8047CC#8047CC

#8047CC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.196 H 299.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8047CC
RGBrgb(128, 71, 204)
HSLhsl(266, 57%, 54%)
HSVhsv(266, 65%, 80%)
CMYKcmyk(37.3%, 65.2%, 0%, 20%)
CIE-LABlab(43.44, 51.02, -60.15)
CIE-LCHlch(43.44, 78.88, 310.31°)
OKLaboklab(53.46% 0.0963 -0.1713)
OKLCHoklch(53.46% 0.196 299.3)
XYZxyz(22.0517, 13.4551, 58.5503)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047CC #93CC47
analogous
#4751CC #8047CC #C347CC
triadic
#8047CC #CC8047 #47CC80
tetradic
#8047CC #CC4751 #93CC47 #47CCC3
square
#8047CC #CC4751 #93CC47 #47CCC3
split-complementary
#8047CC #CCC347 #51CC47
monochromatic
#462177 #622EA7 #8047CC #A177D9 #C2A7E7

Accessibility & contrast

On white

5.69
#8047CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8047CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047CC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047CC#FFFFFF#000000##FFFFFF
##8047CC1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#6F6583
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8047cc;
/* rgb */ color: rgb(128, 71, 204);
/* oklch */ color: oklch(53.5% 0.196 299.3);
Tailwind
colors: {
  custom: {
    50: '#aa7edc',
    500: '#8047cc',
    950: '#000000',
  },
}
SCSS
$custom: #8047cc;
$custom-light: #aa7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8047cc",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 265.714,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53463,
    "c": 0.19648,
    "h": 299.3
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#8047CC
secondary
#BBD49B
accent
#E0489F
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8047CC

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

Preview Lab → · Contrast checker → · Palette generator →

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