#8068E8#8068E8

#8068E8 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.186 H 288.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8068E8
RGBrgb(128, 104, 232)
HSLhsl(251, 74%, 66%)
HSVhsv(251, 55%, 91%)
CMYKcmyk(44.8%, 55.2%, 0%, 9%)
CIE-LABlab(52.19, 40.39, -61.96)
CIE-LCHlch(52.19, 73.96, 303.10°)
OKLaboklab(60.45% 0.0579 -0.1766)
OKLCHoklch(60.45% 0.186 288.2)
XYZxyz(28.4137, 20.3149, 78.7523)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068E8 #D0E868
analogous
#6890E8 #8068E8 #C068E8
triadic
#8068E8 #E88068 #68E880
tetradic
#8068E8 #E86890 #D0E868 #68E8C0
square
#8068E8 #E86890 #D0E868 #68E8C0
split-complementary
#8068E8 #E8C068 #90E868
monochromatic
#3A1CB9 #5333E0 #8068E8 #AD9DF0 #D9D2F8

Accessibility & contrast

On white

4.15
#8068E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8068E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068E8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068E8#FFFFFF#000000##000000
##8068E81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7FEC
Deuteranopia (green-blind)
#2079E5
Tritanopia (blue-blind)
#60849E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8068e8;
/* rgb */ color: rgb(128, 104, 232);
/* oklch */ color: oklch(60.5% 0.186 288.2);
Tailwind
colors: {
  custom: {
    50: '#ab94f0',
    500: '#8068e8',
    950: '#000000',
  },
}
SCSS
$custom: #8068e8;
$custom-light: #ab94f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8068e8",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 251.25,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60453,
    "c": 0.18584,
    "h": 288.2
  },
  "luminance": 0.20316
}

Semantic roles & 50–950 ramp

primary
#8068E8
secondary
#E3EBC1
accent
#D610B1
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8068E8

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

Preview Lab → · Contrast checker → · Palette generator →

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