#8046E8#8046E8

#8046E8 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.229 H 294.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8046E8
RGBrgb(128, 70, 232)
HSLhsl(261, 78%, 59%)
HSVhsv(261, 70%, 91%)
CMYKcmyk(44.8%, 69.8%, 0%, 9%)
CIE-LABlab(45.35, 58.68, -73.05)
CIE-LCHlch(45.35, 93.70, 308.78°)
OKLaboklab(55.49% 0.0932 -0.2092)
OKLCHoklch(55.49% 0.229 294)
XYZxyz(25.6538, 14.7950, 77.8324)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046E8 #AEE846
analogous
#465DE8 #8046E8 #D146E8
triadic
#8046E8 #E88046 #46E880
tetradic
#8046E8 #E8465D #AEE846 #46E8D1
square
#8046E8 #E8465D #AEE846 #46E8D1
split-complementary
#8046E8 #E8D146 #5DE846
monochromatic
#4614A0 #5E1BD6 #8046E8 #A57CEF #CBB3F6

Accessibility & contrast

On white

5.30
#8046E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8046E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046E8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046E8#FFFFFF#000000##FFFFFF
##8046E81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#626F92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8046e8;
/* rgb */ color: rgb(128, 70, 232);
/* oklch */ color: oklch(55.5% 0.229 294.0);
Tailwind
colors: {
  custom: {
    50: '#ad7ef0',
    500: '#8046e8',
    950: '#000000',
  },
}
SCSS
$custom: #8046e8;
$custom-light: #ad7ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8046e8",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 232
  },
  "hsl": {
    "h": 261.481,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55486,
    "c": 0.22899,
    "h": 294
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#8046E8
secondary
#CEE5A5
accent
#F433AF
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #8046E8

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

Preview Lab → · Contrast checker → · Palette generator →

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