#807EA2#807EA2

#807EA2 is a mid, muted blue. Relative luminance 0.221; OKLCH L 60.8% C 0.054 H 287.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#807EA2
RGBrgb(128, 126, 162)
HSLhsl(243, 16%, 56%)
HSVhsv(243, 22%, 64%)
CMYKcmyk(21%, 22.2%, 0%, 36.5%)
CIE-LABlab(54.15, 8.66, -18.91)
CIE-LCHlch(54.15, 20.80, 294.61°)
OKLaboklab(60.8% 0.016 -0.0518)
OKLCHoklch(60.8% 0.054 287.2)
XYZxyz(22.8830, 22.1192, 37.2393)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807EA2 #A0A27E
analogous
#7E8EA2 #807EA2 #927EA2
triadic
#807EA2 #A2807E #7EA280
tetradic
#807EA2 #A27E8E #A0A27E #7EA292
square
#807EA2 #A27E8E #A0A27E #7EA292
split-complementary
#807EA2 #A2927E #8EA27E
monochromatic
#474560 #615F84 #807EA2 #A3A2BC #C6C5D5

Accessibility & contrast

On white

3.87
#807EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#807EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807EA2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807EA2#FFFFFF#000000##000000
##807EA21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7582A4
Deuteranopia (green-blind)
#7581A1
Tritanopia (blue-blind)
#79848A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #807ea2;
/* rgb */ color: rgb(128, 126, 162);
/* oklch */ color: oklch(60.8% 0.054 287.2);
Tailwind
colors: {
  custom: {
    50: '#a5a3bd',
    500: '#807ea2',
    950: '#000000',
  },
}
SCSS
$custom: #807ea2;
$custom-light: #a5a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#807ea2",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 243.333,
    "s": 16.216,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60801,
    "c": 0.05422,
    "h": 287.2
  },
  "luminance": 0.2212
}

Semantic roles & 50–950 ramp

primary
#807EA2
secondary
#C4C5B7
accent
#B96FB5
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#0F0F12
muted
#7F7F81

Preview Lab

Preview with #807EA2

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

Preview Lab → · Contrast checker → · Palette generator →

#807EA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva