#8068EF#8068EF

#8068EF is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.9% C 0.195 H 287.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8068EF
RGBrgb(128, 104, 239)
HSLhsl(251, 81%, 67%)
HSVhsv(251, 56%, 94%)
CMYKcmyk(46.4%, 56.5%, 0%, 6.3%)
CIE-LABlab(52.64, 42.38, -65.15)
CIE-LCHlch(52.64, 77.72, 303.05°)
OKLaboklab(60.93% 0.058 -0.186)
OKLCHoklch(60.93% 0.195 287.3)
XYZxyz(29.4279, 20.7206, 84.0935)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068EF #D7EF68
analogous
#6893EF #8068EF #C468EF
triadic
#8068EF #EF8068 #68EF80
tetradic
#8068EF #EF6893 #D7EF68 #68EFC4
square
#8068EF #EF6893 #D7EF68 #68EFC4
split-complementary
#8068EF #EFC468 #93EF68
monochromatic
#3515C7 #5131E9 #8068EF #AF9FF5 #DDD7FB

Accessibility & contrast

On white

4.08
#8068EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8068EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068EF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068EF#FFFFFF#000000##000000
##8068EF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0681F4
Deuteranopia (green-blind)
#057AEC
Tritanopia (blue-blind)
#5C86A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8068ef;
/* rgb */ color: rgb(128, 104, 239);
/* oklch */ color: oklch(60.9% 0.195 287.3);
Tailwind
colors: {
  custom: {
    50: '#ac94f5',
    500: '#8068ef',
    950: '#000000',
  },
}
SCSS
$custom: #8068ef;
$custom-light: #ac94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8068ef",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 250.667,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6093,
    "c": 0.1948,
    "h": 287.3
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#8068EF
secondary
#E7EFC4
accent
#DD08B7
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8068EF

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

Preview Lab → · Contrast checker → · Palette generator →

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