#8076CB#8076CB

#8076CB is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.126 H 287.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8076CB
RGBrgb(128, 118, 203)
HSLhsl(247, 45%, 63%)
HSVhsv(247, 42%, 80%)
CMYKcmyk(36.9%, 41.9%, 0%, 20.4%)
CIE-LABlab(53.88, 24.04, -42.88)
CIE-LCHlch(53.88, 49.16, 299.28°)
OKLaboklab(61.18% 0.0379 -0.1206)
OKLCHoklch(61.18% 0.126 287.4)
XYZxyz(26.1571, 21.8571, 59.3290)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8076CB #C1CB76
analogous
#7696CB #8076CB #AA76CB
triadic
#8076CB #CB8076 #76CB80
tetradic
#8076CB #CB7696 #C1CB76 #76CBAA
square
#8076CB #CB7696 #C1CB76 #76CBAA
split-complementary
#8076CB #CBAA76 #96CB76
monochromatic
#413790 #574ABA #8076CB #A9A2DC #D2CFED

Accessibility & contrast

On white

3.91
#8076CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8076CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8076CB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8076CB#FFFFFF#000000##000000
##8076CB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CE
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#6C8697
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8076cb;
/* rgb */ color: rgb(128, 118, 203);
/* oklch */ color: oklch(61.2% 0.126 287.4);
Tailwind
colors: {
  custom: {
    50: '#a89ddb',
    500: '#8076cb',
    950: '#000000',
  },
}
SCSS
$custom: #8076cb;
$custom-light: #a89ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8076cb",
  "rgb": {
    "r": 128,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 247.059,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61182,
    "c": 0.12644,
    "h": 287.4
  },
  "luminance": 0.21858
}

Semantic roles & 50–950 ramp

primary
#8076CB
secondary
#DADEBF
accent
#B82DA8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8076CB

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

Preview Lab → · Contrast checker → · Palette generator →

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