#8068DF#8068DF

#8068DF is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.9% C 0.174 H 289.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8068DF
RGBrgb(128, 104, 223)
HSLhsl(252, 65%, 64%)
HSVhsv(252, 53%, 87%)
CMYKcmyk(42.6%, 53.4%, 0%, 12.5%)
CIE-LABlab(51.63, 37.86, -57.79)
CIE-LCHlch(51.63, 69.09, 303.23°)
OKLaboklab(59.86% 0.0577 -0.1643)
OKLCHoklch(59.86% 0.174 289.3)
XYZxyz(27.1680, 19.8166, 72.1913)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068DF #C7DF68
analogous
#688CDF #8068DF #BC68DF
triadic
#8068DF #DF8068 #68DF80
tetradic
#8068DF #DF688C #C7DF68 #68DFBC
square
#8068DF #DF688C #C7DF68 #68DFBC
split-complementary
#8068DF #DFBC68 #8CDF68
monochromatic
#3F24A9 #5636D4 #8068DF #AA9BEA #D5CDF4

Accessibility & contrast

On white

4.23
#8068DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8068DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068DF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068DF#FFFFFF#000000##000000
##8068DF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7DE3
Deuteranopia (green-blind)
#3178DC
Tritanopia (blue-blind)
#64819A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8068df;
/* rgb */ color: rgb(128, 104, 223);
/* oklch */ color: oklch(59.9% 0.174 289.3);
Tailwind
colors: {
  custom: {
    50: '#aa94ea',
    500: '#8068df',
    950: '#000000',
  },
}
SCSS
$custom: #8068df;
$custom-light: #aa94ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8068df",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 252.101,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59856,
    "c": 0.17418,
    "h": 289.3
  },
  "luminance": 0.19818
}

Semantic roles & 50–950 ramp

primary
#8068DF
secondary
#DEE6BD
accent
#CD19A9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8068DF

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

Preview Lab → · Contrast checker → · Palette generator →

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