#8077DB#8077DB

#8077DB is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.3% C 0.147 H 285.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8077DB
RGBrgb(128, 119, 219)
HSLhsl(245, 58%, 66%)
HSVhsv(245, 46%, 86%)
CMYKcmyk(41.6%, 45.7%, 0%, 14.1%)
CIE-LABlab(54.97, 27.92, -50.21)
CIE-LCHlch(54.97, 57.45, 299.08°)
OKLaboklab(62.28% 0.0391 -0.142)
OKLCHoklch(62.28% 0.147 285.4)
XYZxyz(28.2814, 22.8962, 69.9334)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8077DB #D2DB77
analogous
#77A0DB #8077DB #B277DB
triadic
#8077DB #DB8077 #77DB80
tetradic
#8077DB #DB77A0 #D2DB77 #77DBB2
square
#8077DB #DB77A0 #D2DB77 #77DBB2
split-complementary
#8077DB #DBB277 #A0DB77
monochromatic
#382DAA #5347CE #8077DB #ADA7E8 #DAD8F5

Accessibility & contrast

On white

3.76
#8077DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8077DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8077DB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8077DB#FFFFFF#000000##000000
##8077DB1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DF
Deuteranopia (green-blind)
#4E81D9
Tritanopia (blue-blind)
#658B9E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8077db;
/* rgb */ color: rgb(128, 119, 219);
/* oklch */ color: oklch(62.3% 0.147 285.4);
Tailwind
colors: {
  custom: {
    50: '#a99ee7',
    500: '#8077db',
    950: '#000000',
  },
}
SCSS
$custom: #8077db;
$custom-light: #a99ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8077db",
  "rgb": {
    "r": 128,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 245.4,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62282,
    "c": 0.1473,
    "h": 285.4
  },
  "luminance": 0.22897
}

Semantic roles & 50–950 ramp

primary
#8077DB
secondary
#E4E7C7
accent
#C620B7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8077DB

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

Preview Lab → · Contrast checker → · Palette generator →

#8077DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva