#8066E5#8066E5

#8066E5 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.9% C 0.185 H 289.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8066E5
RGBrgb(128, 102, 229)
HSLhsl(252, 71%, 65%)
HSVhsv(252, 55%, 90%)
CMYKcmyk(44.1%, 55.5%, 0%, 10.2%)
CIE-LABlab(51.55, 40.70, -61.30)
CIE-LCHlch(51.55, 73.58, 303.58°)
OKLaboklab(59.92% 0.0602 -0.1747)
OKLCHoklch(59.92% 0.185 289)
XYZxyz(27.7923, 19.7481, 76.4609)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8066E5 #CBE566
analogous
#668CE5 #8066E5 #BF66E5
triadic
#8066E5 #E58066 #66E580
tetradic
#8066E5 #E5668C #CBE566 #66E5BF
square
#8066E5 #E5668C #CBE566 #66E5BF
split-complementary
#8066E5 #E5BF66 #8CE566
monochromatic
#3D1EB2 #5532DC #8066E5 #AB9AEE #D7CFF7

Accessibility & contrast

On white

4.24
#8066E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8066E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8066E5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8066E5#FFFFFF#000000##000000
##8066E51.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7EE9
Deuteranopia (green-blind)
#2178E2
Tritanopia (blue-blind)
#61829C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8066e5;
/* rgb */ color: rgb(128, 102, 229);
/* oklch */ color: oklch(59.9% 0.185 289.0);
Tailwind
colors: {
  custom: {
    50: '#ab92ee',
    500: '#8066e5',
    950: '#000000',
  },
}
SCSS
$custom: #8066e5;
$custom-light: #ab92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8066e5",
  "rgb": {
    "r": 128,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 252.283,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59919,
    "c": 0.18473,
    "h": 289
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#8066E5
secondary
#E0E9BE
accent
#D313AC
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8066E5

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

Preview Lab → · Contrast checker → · Palette generator →

#8066E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva