#807EB3#807EB3

#807EB3 is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.5% C 0.080 H 285.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#807EB3
RGBrgb(128, 126, 179)
HSLhsl(242, 26%, 60%)
HSVhsv(242, 30%, 70%)
CMYKcmyk(28.5%, 29.6%, 0%, 29.8%)
CIE-LABlab(54.83, 12.90, -27.67)
CIE-LCHlch(54.83, 30.53, 294.99°)
OKLaboklab(61.55% 0.0213 -0.0767)
OKLCHoklch(61.55% 0.08 285.5)
XYZxyz(24.4975, 22.7650, 45.7425)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807EB3 #B1B37E
analogous
#7E97B3 #807EB3 #9B7EB3
triadic
#807EB3 #B3807E #7EB380
tetradic
#807EB3 #B37E97 #B1B37E #7EB39B
square
#807EB3 #B37E97 #B1B37E #7EB39B
split-complementary
#807EB3 #B39B7E #97B37E
monochromatic
#454473 #5D5A99 #807EB3 #A6A5CA #CCCBE0

Accessibility & contrast

On white

3.78
#807EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#807EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807EB3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807EB3#FFFFFF#000000##000000
##807EB31.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F85B5
Deuteranopia (green-blind)
#6E82B2
Tritanopia (blue-blind)
#748791
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #807eb3;
/* rgb */ color: rgb(128, 126, 179);
/* oklch */ color: oklch(61.5% 0.080 285.5);
Tailwind
colors: {
  custom: {
    50: '#a6a3ca',
    500: '#807eb3',
    950: '#000000',
  },
}
SCSS
$custom: #807eb3;
$custom-light: #a6a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#807eb3",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 242.264,
    "s": 25.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.07957,
    "h": 285.5
  },
  "luminance": 0.22766
}

Semantic roles & 50–950 ramp

primary
#807EB3
secondary
#D0D1BC
accent
#C266BF
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #807EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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