#8068CF#8068CF

#8068CF is a mid, vivid violet. Relative luminance 0.190; OKLCH L 58.8% C 0.153 H 291.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8068CF
RGBrgb(128, 104, 207)
HSLhsl(254, 52%, 61%)
HSVhsv(254, 50%, 81%)
CMYKcmyk(38.2%, 49.8%, 0%, 18.8%)
CIE-LABlab(50.68, 33.42, -50.23)
CIE-LCHlch(50.68, 60.34, 303.64°)
OKLaboklab(58.84% 0.0567 -0.1421)
OKLCHoklch(58.84% 0.153 291.7)
XYZxyz(25.1119, 18.9942, 61.3625)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068CF #B7CF68
analogous
#6883CF #8068CF #B468CF
triadic
#8068CF #CF8068 #68CF80
tetradic
#8068CF #CF6883 #B7CF68 #68CFB4
square
#8068CF #CF6883 #B7CF68 #68CFB4
split-complementary
#8068CF #CFB468 #83CF68
monochromatic
#442D8F #5A3CBE #8068CF #A796DE #CEC5ED

Accessibility & contrast

On white

4.38
#8068CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8068CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068CF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068CF#FFFFFF#000000##000000
##8068CF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407AD3
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#6C7D92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8068cf;
/* rgb */ color: rgb(128, 104, 207);
/* oklch */ color: oklch(58.8% 0.153 291.7);
Tailwind
colors: {
  custom: {
    50: '#a993de',
    500: '#8068cf',
    950: '#000000',
  },
}
SCSS
$custom: #8068cf;
$custom-light: #a993de;
$custom-dark: #000000;
JSON
{
  "hex": "#8068cf",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 253.981,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58844,
    "c": 0.15303,
    "h": 291.7
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#8068CF
secondary
#D4DDB6
accent
#BF269C
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8068CF

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

Preview Lab → · Contrast checker → · Palette generator →

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