#8068EB#8068EB

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

Color values

HEX#8068EB
RGBrgb(128, 104, 235)
HSLhsl(251, 77%, 66%)
HSVhsv(251, 56%, 92%)
CMYKcmyk(45.5%, 55.7%, 0%, 7.8%)
CIE-LABlab(52.38, 41.25, -63.33)
CIE-LCHlch(52.38, 75.58, 303.08°)
OKLaboklab(60.66% 0.058 -0.1806)
OKLCHoklch(60.66% 0.19 287.8)
XYZxyz(28.8435, 20.4868, 81.0157)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068EB #D3EB68
analogous
#6892EB #8068EB #C168EB
triadic
#8068EB #EB8068 #68EB80
tetradic
#8068EB #EB6892 #D3EB68 #68EBC1
square
#8068EB #EB6892 #D3EB68 #68EBC1
split-complementary
#8068EB #EBC168 #92EB68
monochromatic
#3819BF #5332E4 #8068EB #AD9EF2 #DBD4F9

Accessibility & contrast

On white

4.12
#8068EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8068EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068EB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068EB#FFFFFF#000000##000000
##8068EB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1780EF
Deuteranopia (green-blind)
#187AE8
Tritanopia (blue-blind)
#5E85A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8068eb;
/* rgb */ color: rgb(128, 104, 235);
/* oklch */ color: oklch(60.7% 0.190 287.8);
Tailwind
colors: {
  custom: {
    50: '#ab94f2',
    500: '#8068eb',
    950: '#000000',
  },
}
SCSS
$custom: #8068eb;
$custom-light: #ab94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8068eb",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 250.992,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.1897,
    "h": 287.8
  },
  "luminance": 0.20488
}

Semantic roles & 50–950 ramp

primary
#8068EB
secondary
#E5EDC2
accent
#D90DB3
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8068EB

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

Preview Lab → · Contrast checker → · Palette generator →

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