#8068BB#8068BB

#8068BB is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.7% C 0.126 H 295.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8068BB
RGBrgb(128, 104, 187)
HSLhsl(257, 38%, 57%)
HSVhsv(257, 44%, 73%)
CMYKcmyk(31.6%, 44.4%, 0%, 26.7%)
CIE-LABlab(49.59, 28.05, -40.48)
CIE-LCHlch(49.59, 49.25, 304.72°)
OKLaboklab(57.67% 0.0542 -0.1136)
OKLCHoklch(57.67% 0.126 295.5)
XYZxyz(22.8198, 18.0773, 49.2911)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068BB #A3BB68
analogous
#687ABB #8068BB #AA68BB
triadic
#8068BB #BB8068 #68BB80
tetradic
#8068BB #BB687A #A3BB68 #68BBAA
square
#8068BB #BB687A #A3BB68 #68BBAA
split-complementary
#8068BB #BBAA68 #7ABB68
monochromatic
#473474 #61479E #8068BB #A392CE #C7BCE1

Accessibility & contrast

On white

4.55
#8068BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8068BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068BB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068BB#FFFFFF#000000##000000
##8068BB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BE
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#737788
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8068bb;
/* rgb */ color: rgb(128, 104, 187);
/* oklch */ color: oklch(57.7% 0.126 295.5);
Tailwind
colors: {
  custom: {
    50: '#a793d0',
    500: '#8068bb',
    950: '#000000',
  },
}
SCSS
$custom: #8068bb;
$custom-light: #a793d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8068bb",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 257.349,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57671,
    "c": 0.12592,
    "h": 295.5
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

primary
#8068BB
secondary
#C7D0AF
accent
#CE5AAC
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8068BB

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

Preview Lab → · Contrast checker → · Palette generator →

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