#8068CB#8068CB

#8068CB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.6% C 0.148 H 292.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8068CB
RGBrgb(128, 104, 203)
HSLhsl(255, 49%, 60%)
HSVhsv(255, 49%, 80%)
CMYKcmyk(36.9%, 48.8%, 0%, 20.4%)
CIE-LABlab(50.45, 32.33, -48.31)
CIE-LCHlch(50.45, 58.13, 303.79°)
OKLaboklab(58.6% 0.0563 -0.1365)
OKLCHoklch(58.6% 0.148 292.4)
XYZxyz(24.6290, 18.8010, 58.8197)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068CB #B3CB68
analogous
#6882CB #8068CB #B168CB
triadic
#8068CB #CB8068 #68CB80
tetradic
#8068CB #CB6882 #B3CB68 #68CBB1
square
#8068CB #CB6882 #B3CB68 #68CBB1
split-complementary
#8068CB #CBB168 #82CB68
monochromatic
#452F89 #5C3FB7 #8068CB #A696DB #CDC3EA

Accessibility & contrast

On white

4.41
#8068CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8068CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068CB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068CB#FFFFFF#000000##000000
##8068CB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CF
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#6D7C90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8068cb;
/* rgb */ color: rgb(128, 104, 203);
/* oklch */ color: oklch(58.6% 0.148 292.4);
Tailwind
colors: {
  custom: {
    50: '#a893db',
    500: '#8068cb',
    950: '#000000',
  },
}
SCSS
$custom: #8068cb;
$custom-light: #a893db;
$custom-dark: #000000;
JSON
{
  "hex": "#8068cb",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 254.545,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.14767,
    "h": 292.4
  },
  "luminance": 0.18802
}

Semantic roles & 50–950 ramp

primary
#8068CB
secondary
#D1DAB4
accent
#BC2999
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8068CB

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

Preview Lab → · Contrast checker → · Palette generator →

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