#8068BF#8068BF

#8068BF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 57.9% C 0.131 H 294.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8068BF
RGBrgb(128, 104, 191)
HSLhsl(257, 40%, 58%)
HSVhsv(257, 46%, 75%)
CMYKcmyk(33%, 45.5%, 0%, 25.1%)
CIE-LABlab(49.80, 29.10, -42.46)
CIE-LCHlch(49.80, 51.48, 304.43°)
OKLaboklab(57.9% 0.0548 -0.1194)
OKLCHoklch(57.9% 0.131 294.7)
XYZxyz(23.2540, 18.2510, 51.5778)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068BF #A7BF68
analogous
#687BBF #8068BF #AC68BF
triadic
#8068BF #BF8068 #68BF80
tetradic
#8068BF #BF687B #A7BF68 #68BFAC
square
#8068BF #BF687B #A7BF68 #68BFAC
split-complementary
#8068BF #BFAC68 #7BBF68
monochromatic
#473379 #6046A4 #8068BF #A493D1 #C8BEE3

Accessibility & contrast

On white

4.52
#8068BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8068BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068BF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068BF#FFFFFF#000000##000000
##8068BF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C2
Deuteranopia (green-blind)
#5075BD
Tritanopia (blue-blind)
#72788A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8068bf;
/* rgb */ color: rgb(128, 104, 191);
/* oklch */ color: oklch(57.9% 0.131 294.7);
Tailwind
colors: {
  custom: {
    50: '#a793d3',
    500: '#8068bf',
    950: '#000000',
  },
}
SCSS
$custom: #8068bf;
$custom-light: #a793d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8068bf",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 256.552,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.13139,
    "h": 294.7
  },
  "luminance": 0.18251
}

Semantic roles & 50–950 ramp

primary
#8068BF
secondary
#C9D3B0
accent
#D057AF
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8068BF

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

Preview Lab → · Contrast checker → · Palette generator →

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