#8068F8#8068F8

#8068F8 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.6% C 0.206 H 286.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8068F8
RGBrgb(128, 104, 248)
HSLhsl(250, 91%, 69%)
HSVhsv(250, 58%, 97%)
CMYKcmyk(48.4%, 58.1%, 0%, 2.7%)
CIE-LABlab(53.24, 44.95, -69.20)
CIE-LCHlch(53.24, 82.52, 303.01°)
OKLaboklab(61.56% 0.0579 -0.1979)
OKLCHoklch(61.56% 0.206 286.3)
XYZxyz(30.7907, 21.2657, 91.2710)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068F8 #E0F868
analogous
#6898F8 #8068F8 #C868F8
triadic
#8068F8 #F88068 #68F880
tetradic
#8068F8 #F86898 #E0F868 #68F8C8
square
#8068F8 #F86898 #E0F868 #68F8C8
split-complementary
#8068F8 #F8C868 #98F868
monochromatic
#2D0ADB #4F2EF5 #8068F8 #B1A2FB #E2DDFD

Accessibility & contrast

On white

4.00
#8068F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8068F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068F8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068F8#FFFFFF#000000##000000
##8068F81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#5689A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8068f8;
/* rgb */ color: rgb(128, 104, 248);
/* oklch */ color: oklch(61.6% 0.206 286.3);
Tailwind
colors: {
  custom: {
    50: '#ad94fb',
    500: '#8068f8',
    950: '#000000',
  },
}
SCSS
$custom: #8068f8;
$custom-light: #ad94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8068f8",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 250,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.20617,
    "h": 286.3
  },
  "luminance": 0.21267
}

Semantic roles & 50–950 ramp

primary
#8068F8
secondary
#ECF3C9
accent
#E600BF
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8068F8

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

Preview Lab → · Contrast checker → · Palette generator →

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