#8068BC#8068BC

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

Color values

HEX#8068BC
RGBrgb(128, 104, 188)
HSLhsl(257, 39%, 57%)
HSVhsv(257, 45%, 74%)
CMYKcmyk(31.9%, 44.7%, 0%, 26.3%)
CIE-LABlab(49.64, 28.31, -40.98)
CIE-LCHlch(49.64, 49.81, 304.64°)
OKLaboklab(57.73% 0.0544 -0.1151)
OKLCHoklch(57.73% 0.127 295.3)
XYZxyz(22.9272, 18.1203, 49.8568)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068BC #A4BC68
analogous
#687ABC #8068BC #AA68BC
triadic
#8068BC #BC8068 #68BC80
tetradic
#8068BC #BC687A #A4BC68 #68BCAA
square
#8068BC #BC687A #A4BC68 #68BCAA
split-complementary
#8068BC #BCAA68 #7ABC68
monochromatic
#473475 #6047A0 #8068BC #A492CF #C7BDE2

Accessibility & contrast

On white

4.54
#8068BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8068BC#FFFFFF#000000##000000
##8068BC1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BF
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#737889
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8068bc;
/* rgb */ color: rgb(128, 104, 188);
/* oklch */ color: oklch(57.7% 0.127 295.3);
Tailwind
colors: {
  custom: {
    50: '#a793d0',
    500: '#8068bc',
    950: '#000000',
  },
}
SCSS
$custom: #8068bc;
$custom-light: #a793d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8068bc",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 257.143,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.12729,
    "h": 295.3
  },
  "luminance": 0.18121
}

Semantic roles & 50–950 ramp

primary
#8068BC
secondary
#C7D1AF
accent
#CE59AD
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8068BC

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

Preview Lab → · Contrast checker → · Palette generator →

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