#8068D8#8068D8

#8068D8 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.4% C 0.165 H 290.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8068D8
RGBrgb(128, 104, 216)
HSLhsl(253, 59%, 63%)
HSVhsv(253, 52%, 85%)
CMYKcmyk(40.7%, 51.9%, 0%, 15.3%)
CIE-LABlab(51.21, 35.90, -54.51)
CIE-LCHlch(51.21, 65.27, 303.37°)
OKLaboklab(59.4% 0.0573 -0.1547)
OKLCHoklch(59.4% 0.165 290.3)
XYZxyz(26.2437, 19.4469, 67.3233)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068D8 #C0D868
analogous
#6888D8 #8068D8 #B868D8
triadic
#8068D8 #D88068 #68D880
tetradic
#8068D8 #D86888 #C0D868 #68D8B8
square
#8068D8 #D86888 #C0D868 #68D8B8
split-complementary
#8068D8 #D8B868 #88D868
monochromatic
#42299D #5737CB #8068D8 #A999E5 #D2C9F1

Accessibility & contrast

On white

4.29
#8068D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8068D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068D8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068D8#FFFFFF#000000##000000
##8068D81.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#377CDC
Deuteranopia (green-blind)
#3A77D5
Tritanopia (blue-blind)
#687F96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8068d8;
/* rgb */ color: rgb(128, 104, 216);
/* oklch */ color: oklch(59.4% 0.165 290.3);
Tailwind
colors: {
  custom: {
    50: '#a993e5',
    500: '#8068d8',
    950: '#000000',
  },
}
SCSS
$custom: #8068d8;
$custom-light: #a993e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8068d8",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 216
  },
  "hsl": {
    "h": 252.857,
    "s": 58.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59405,
    "c": 0.16499,
    "h": 290.3
  },
  "luminance": 0.19448
}

Semantic roles & 50–950 ramp

primary
#8068D8
secondary
#D9E2BA
accent
#C71FA3
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8068D8

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

Preview Lab → · Contrast checker → · Palette generator →

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