#8076EB#8076EB

#8076EB is a light, vivid blue. Relative luminance 0.235; OKLCH L 63.1% C 0.170 H 284.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8076EB
RGBrgb(128, 118, 235)
HSLhsl(245, 75%, 69%)
HSVhsv(245, 50%, 92%)
CMYKcmyk(45.5%, 49.8%, 0%, 7.8%)
CIE-LABlab(55.63, 33.09, -58.12)
CIE-LCHlch(55.63, 66.88, 299.66°)
OKLaboklab(63.07% 0.042 -0.1652)
OKLCHoklch(63.07% 0.17 284.3)
XYZxyz(30.3715, 23.5429, 81.5251)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8076EB #E1EB76
analogous
#76A7EB #8076EB #BB76EB
triadic
#8076EB #EB8076 #76EB80
tetradic
#8076EB #EB76A7 #E1EB76 #76EBBB
square
#8076EB #EB76A7 #E1EB76 #76EBBB
split-complementary
#8076EB #EBBB76 #A7EB76
monochromatic
#2C1DC9 #4E41E3 #8076EB #B2ABF3 #E3E1FB

Accessibility & contrast

On white

3.68
#8076EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8076EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8076EB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8076EB#FFFFFF#000000##000000
##8076EB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#3C82E8
Tritanopia (blue-blind)
#5D8FA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8076eb;
/* rgb */ color: rgb(128, 118, 235);
/* oklch */ color: oklch(63.1% 0.170 284.3);
Tailwind
colors: {
  custom: {
    50: '#ab9df2',
    500: '#8076eb',
    950: '#000000',
  },
}
SCSS
$custom: #8076eb;
$custom-light: #ab9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#8076eb",
  "rgb": {
    "r": 128,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 245.128,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63072,
    "c": 0.17048,
    "h": 284.3
  },
  "luminance": 0.23544
}

Semantic roles & 50–950 ramp

primary
#8076EB
secondary
#ECEFCD
accent
#D70FC6
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8076EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8076EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva