#8046C8#8046C8

#8046C8 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.193 H 300.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8046C8
RGBrgb(128, 70, 200)
HSLhsl(267, 54%, 53%)
HSVhsv(267, 65%, 78%)
CMYKcmyk(36%, 65%, 0%, 21.6%)
CIE-LABlab(42.97, 50.53, -58.60)
CIE-LCHlch(42.97, 77.37, 310.77°)
OKLaboklab(53.04% 0.0978 -0.1667)
OKLCHoklch(53.04% 0.193 300.4)
XYZxyz(21.5150, 13.1395, 56.0351)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046C8 #8EC846
analogous
#464DC8 #8046C8 #C146C8
triadic
#8046C8 #C88046 #46C880
tetradic
#8046C8 #C8464D #8EC846 #46C8C1
square
#8046C8 #C8464D #8EC846 #46C8C1
split-complementary
#8046C8 #C8C146 #4DC846
monochromatic
#452272 #6230A1 #8046C8 #A075D6 #C1A4E4

Accessibility & contrast

On white

5.79
#8046C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8046C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046C8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046C8#FFFFFF#000000##FFFFFF
##8046C81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0165C5
Tritanopia (blue-blind)
#706381
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8046c8;
/* rgb */ color: rgb(128, 70, 200);
/* oklch */ color: oklch(53.0% 0.193 300.4);
Tailwind
colors: {
  custom: {
    50: '#aa7dd9',
    500: '#8046c8',
    950: '#000000',
  },
}
SCSS
$custom: #8046c8;
$custom-light: #aa7dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8046c8",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 266.769,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.19326,
    "h": 300.4
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#8046C8
secondary
#B8D199
accent
#DE4A9C
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8046C8

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

Preview Lab → · Contrast checker → · Palette generator →

#8046C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva