#8045E6#8045E6

#8045E6 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.228 H 294.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8045E6
RGBrgb(128, 69, 230)
HSLhsl(262, 76%, 59%)
HSVhsv(262, 70%, 90%)
CMYKcmyk(44.3%, 70%, 0%, 9.8%)
CIE-LABlab(45.02, 58.65, -72.45)
CIE-LCHlch(45.02, 93.21, 308.99°)
OKLaboklab(55.2% 0.0945 -0.2074)
OKLCHoklch(55.2% 0.228 294.5)
XYZxyz(25.3093, 14.5579, 76.3240)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045E6 #ABE645
analogous
#455AE6 #8045E6 #D145E6
triadic
#8045E6 #E68045 #45E680
tetradic
#8045E6 #E6455A #ABE645 #45E6D1
square
#8045E6 #E6455A #ABE645 #45E6D1
split-complementary
#8045E6 #E6D145 #5AE645
monochromatic
#46159C #5F1CD2 #8045E6 #A57BED #CAB1F5

Accessibility & contrast

On white

5.37
#8045E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8045E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045E6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045E6#FFFFFF#000000##FFFFFF
##8045E61.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#636E91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8045e6;
/* rgb */ color: rgb(128, 69, 230);
/* oklch */ color: oklch(55.2% 0.228 294.5);
Tailwind
colors: {
  custom: {
    50: '#ad7def',
    500: '#8045e6',
    950: '#000000',
  },
}
SCSS
$custom: #8045e6;
$custom-light: #ad7def;
$custom-dark: #000000;
JSON
{
  "hex": "#8045e6",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 261.988,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.22792,
    "h": 294.5
  },
  "luminance": 0.14559
}

Semantic roles & 50–950 ramp

primary
#8045E6
secondary
#CCE3A4
accent
#F335AD
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #8045E6

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

Preview Lab → · Contrast checker → · Palette generator →

#8045E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva