#8068F5#8068F5

#8068F5 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.3% C 0.202 H 286.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8068F5
RGBrgb(128, 104, 245)
HSLhsl(250, 88%, 68%)
HSVhsv(250, 58%, 96%)
CMYKcmyk(47.8%, 57.6%, 0%, 3.9%)
CIE-LABlab(53.04, 44.09, -67.86)
CIE-LCHlch(53.04, 80.92, 303.02°)
OKLaboklab(61.35% 0.0579 -0.1939)
OKLCHoklch(61.35% 0.202 286.6)
XYZxyz(30.3290, 21.0810, 88.8395)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068F5 #DDF568
analogous
#6896F5 #8068F5 #C668F5
triadic
#8068F5 #F58068 #68F580
tetradic
#8068F5 #F56896 #DDF568 #68F5C6
square
#8068F5 #F56896 #DDF568 #68F5C6
split-complementary
#8068F5 #F5C668 #96F568
monochromatic
#300ED5 #502FF1 #8068F5 #B0A1F9 #E1DBFD

Accessibility & contrast

On white

4.03
#8068F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8068F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068F5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068F5#FFFFFF#000000##000000
##8068F51.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#5888A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8068f5;
/* rgb */ color: rgb(128, 104, 245);
/* oklch */ color: oklch(61.3% 0.202 286.6);
Tailwind
colors: {
  custom: {
    50: '#ac94f9',
    500: '#8068f5',
    950: '#000000',
  },
}
SCSS
$custom: #8068f5;
$custom-light: #ac94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8068f5",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 250.213,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61348,
    "c": 0.20239,
    "h": 286.6
  },
  "luminance": 0.21082
}

Semantic roles & 50–950 ramp

primary
#8068F5
secondary
#EAF2C7
accent
#E401BE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8068F5

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

Preview Lab → · Contrast checker → · Palette generator →

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