#8046CE#8046CE

#8046CE is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.200 H 299.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8046CE
RGBrgb(128, 70, 206)
HSLhsl(266, 58%, 54%)
HSVhsv(266, 66%, 81%)
CMYKcmyk(37.9%, 66%, 0%, 19.2%)
CIE-LABlab(43.40, 52.04, -61.38)
CIE-LCHlch(43.40, 80.47, 310.29°)
OKLaboklab(53.48% 0.0971 -0.1749)
OKLCHoklch(53.48% 0.2 299)
XYZxyz(22.2300, 13.4255, 59.8007)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046CE #94CE46
analogous
#4650CE #8046CE #C446CE
triadic
#8046CE #CE8046 #46CE80
tetradic
#8046CE #CE4650 #94CE46 #46CEC4
square
#8046CE #CE4650 #94CE46 #46CEC4
split-complementary
#8046CE #CEC446 #50CE46
monochromatic
#462079 #622DAA #8046CE #A176DB #C2A7E8

Accessibility & contrast

On white

5.70
#8046CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8046CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046CE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046CE#FFFFFF#000000##FFFFFF
##8046CE1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8046ce;
/* rgb */ color: rgb(128, 70, 206);
/* oklch */ color: oklch(53.5% 0.200 299.0);
Tailwind
colors: {
  custom: {
    50: '#aa7dde',
    500: '#8046ce',
    950: '#000000',
  },
}
SCSS
$custom: #8046ce;
$custom-light: #aa7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#8046ce",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 265.588,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53477,
    "c": 0.20004,
    "h": 299
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#8046CE
secondary
#BCD59B
accent
#E1469F
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8046CE

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

Preview Lab → · Contrast checker → · Palette generator →

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