#8046E9#8046E9

#8046E9 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.230 H 293.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8046E9
RGBrgb(128, 70, 233)
HSLhsl(261, 79%, 59%)
HSVhsv(261, 70%, 91%)
CMYKcmyk(45.1%, 70%, 0%, 8.6%)
CIE-LABlab(45.43, 58.94, -73.48)
CIE-LCHlch(45.43, 94.20, 308.73°)
OKLaboklab(55.57% 0.093 -0.2105)
OKLCHoklch(55.57% 0.23 293.8)
XYZxyz(25.7962, 14.8519, 78.5826)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046E9 #AFE946
analogous
#465EE9 #8046E9 #D246E9
triadic
#8046E9 #E98046 #46E980
tetradic
#8046E9 #E9465E #AFE946 #46E9D2
square
#8046E9 #E9465E #AFE946 #46E9D2
split-complementary
#8046E9 #E9D246 #5EE946
monochromatic
#4613A1 #5D1AD8 #8046E9 #A67DF0 #CBB3F6

Accessibility & contrast

On white

5.29
#8046E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8046E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046E9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046E9#FFFFFF#000000##FFFFFF
##8046E91.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#616F93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8046e9;
/* rgb */ color: rgb(128, 70, 233);
/* oklch */ color: oklch(55.6% 0.230 293.8);
Tailwind
colors: {
  custom: {
    50: '#ad7ef1',
    500: '#8046e9',
    950: '#000000',
  },
}
SCSS
$custom: #8046e9;
$custom-light: #ad7ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8046e9",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 261.35,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55566,
    "c": 0.23008,
    "h": 293.8
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

primary
#8046E9
secondary
#CFE5A6
accent
#F533B0
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #8046E9

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

Preview Lab → · Contrast checker → · Palette generator →

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