#8076E2#8076E2

#8076E2 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.5% C 0.158 H 285.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8076E2
RGBrgb(128, 118, 226)
HSLhsl(246, 65%, 67%)
HSVhsv(246, 48%, 89%)
CMYKcmyk(43.4%, 47.8%, 0%, 11.4%)
CIE-LABlab(55.11, 30.50, -53.91)
CIE-LCHlch(55.11, 61.94, 299.50°)
OKLaboklab(62.52% 0.0411 -0.1529)
OKLCHoklch(62.52% 0.158 285.1)
XYZxyz(29.1040, 23.0359, 74.8496)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8076E2 #D8E276
analogous
#76A2E2 #8076E2 #B676E2
triadic
#8076E2 #E28076 #76E280
tetradic
#8076E2 #E276A2 #D8E276 #76E2B6
square
#8076E2 #E276A2 #D8E276 #76E2B6
split-complementary
#8076E2 #E2B676 #A2E276
monochromatic
#3427B7 #5143D7 #8076E2 #AFA9ED #DEDBF7

Accessibility & contrast

On white

3.75
#8076E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8076E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8076E2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8076E2#FFFFFF#000000##000000
##8076E21.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E6
Deuteranopia (green-blind)
#4681E0
Tritanopia (blue-blind)
#628CA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8076e2;
/* rgb */ color: rgb(128, 118, 226);
/* oklch */ color: oklch(62.5% 0.158 285.1);
Tailwind
colors: {
  custom: {
    50: '#aa9dec',
    500: '#8076e2',
    950: '#000000',
  },
}
SCSS
$custom: #8076e2;
$custom-light: #aa9dec;
$custom-dark: #000000;
JSON
{
  "hex": "#8076e2",
  "rgb": {
    "r": 128,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 245.556,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62516,
    "c": 0.15833,
    "h": 285.1
  },
  "luminance": 0.23037
}

Semantic roles & 50–950 ramp

primary
#8076E2
secondary
#E8EBC9
accent
#CD19BC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8076E2

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

Preview Lab → · Contrast checker → · Palette generator →

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