#8068EC#8068EC

#8068EC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.7% C 0.191 H 287.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8068EC
RGBrgb(128, 104, 236)
HSLhsl(251, 78%, 67%)
HSVhsv(251, 56%, 93%)
CMYKcmyk(45.8%, 55.9%, 0%, 7.5%)
CIE-LABlab(52.45, 41.53, -63.79)
CIE-LCHlch(52.45, 76.11, 303.07°)
OKLaboklab(60.72% 0.058 -0.182)
OKLCHoklch(60.72% 0.191 287.7)
XYZxyz(28.9884, 20.5448, 81.7788)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068EC #D4EC68
analogous
#6892EC #8068EC #C268EC
triadic
#8068EC #EC8068 #68EC80
tetradic
#8068EC #EC6892 #D4EC68 #68ECC2
square
#8068EC #EC6892 #D4EC68 #68ECC2
split-complementary
#8068EC #ECC268 #92EC68
monochromatic
#3718C1 #5232E5 #8068EC #AE9EF3 #DBD5FA

Accessibility & contrast

On white

4.11
#8068EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8068EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068EC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068EC#FFFFFF#000000##000000
##8068EC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1380F0
Deuteranopia (green-blind)
#147AE9
Tritanopia (blue-blind)
#5D85A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8068ec;
/* rgb */ color: rgb(128, 104, 236);
/* oklch */ color: oklch(60.7% 0.191 287.7);
Tailwind
colors: {
  custom: {
    50: '#ab94f3',
    500: '#8068ec',
    950: '#000000',
  },
}
SCSS
$custom: #8068ec;
$custom-light: #ab94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8068ec",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 250.909,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60724,
    "c": 0.19097,
    "h": 287.7
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

primary
#8068EC
secondary
#E5EDC3
accent
#DA0CB4
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8068EC

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

Preview Lab → · Contrast checker → · Palette generator →

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