#8068EA#8068EA

#8068EA is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.6% C 0.188 H 287.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8068EA
RGBrgb(128, 104, 234)
HSLhsl(251, 76%, 66%)
HSVhsv(251, 56%, 92%)
CMYKcmyk(45.3%, 55.6%, 0%, 8.2%)
CIE-LABlab(52.32, 40.96, -62.87)
CIE-LCHlch(52.32, 75.04, 303.08°)
OKLaboklab(60.59% 0.058 -0.1793)
OKLCHoklch(60.59% 0.188 287.9)
XYZxyz(28.6994, 20.4292, 80.2570)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068EA #D2EA68
analogous
#6891EA #8068EA #C168EA
triadic
#8068EA #EA8068 #68EA80
tetradic
#8068EA #EA6891 #D2EA68 #68EAC1
square
#8068EA #EA6891 #D2EA68 #68EAC1
split-complementary
#8068EA #EAC168 #91EA68
monochromatic
#381ABD #5332E3 #8068EA #AD9EF1 #DAD3F9

Accessibility & contrast

On white

4.13
#8068EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8068EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068EA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068EA#FFFFFF#000000##000000
##8068EA1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1980EE
Deuteranopia (green-blind)
#1B79E7
Tritanopia (blue-blind)
#5F859F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8068ea;
/* rgb */ color: rgb(128, 104, 234);
/* oklch */ color: oklch(60.6% 0.188 287.9);
Tailwind
colors: {
  custom: {
    50: '#ab94f1',
    500: '#8068ea',
    950: '#000000',
  },
}
SCSS
$custom: #8068ea;
$custom-light: #ab94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8068ea",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 251.077,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60588,
    "c": 0.18841,
    "h": 287.9
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#8068EA
secondary
#E4ECC2
accent
#D80EB2
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8068EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8068EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva