#8068DB#8068DB

#8068DB is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.6% C 0.169 H 289.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8068DB
RGBrgb(128, 104, 219)
HSLhsl(253, 61%, 63%)
HSVhsv(253, 53%, 86%)
CMYKcmyk(41.6%, 52.5%, 0%, 14.1%)
CIE-LABlab(51.39, 36.74, -55.92)
CIE-LCHlch(51.39, 66.91, 303.30°)
OKLaboklab(59.6% 0.0575 -0.1588)
OKLCHoklch(59.6% 0.169 289.9)
XYZxyz(26.6350, 19.6034, 69.3846)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068DB #C3DB68
analogous
#6889DB #8068DB #B968DB
triadic
#8068DB #DB8068 #68DB80
tetradic
#8068DB #DB6889 #C3DB68 #68DBB9
square
#8068DB #DB6889 #C3DB68 #68DBB9
split-complementary
#8068DB #DBB968 #89DB68
monochromatic
#4027A2 #5637CF #8068DB #AA99E7 #D3CBF3

Accessibility & contrast

On white

4.27
#8068DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8068DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068DB#FFFFFF#000000##000000
##8068DB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DDF
Deuteranopia (green-blind)
#3678D8
Tritanopia (blue-blind)
#668098
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8068db;
/* rgb */ color: rgb(128, 104, 219);
/* oklch */ color: oklch(59.6% 0.169 289.9);
Tailwind
colors: {
  custom: {
    50: '#aa93e7',
    500: '#8068db',
    950: '#000000',
  },
}
SCSS
$custom: #8068db;
$custom-light: #aa93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8068db",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 252.522,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59597,
    "c": 0.16894,
    "h": 289.9
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#8068DB
secondary
#DBE4BB
accent
#C91CA5
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8068DB

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

Preview Lab → · Contrast checker → · Palette generator →

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