#807EB5#807EB5

#807EB5 is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.6% C 0.083 H 285.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#807EB5
RGBrgb(128, 126, 181)
HSLhsl(242, 27%, 60%)
HSVhsv(242, 30%, 71%)
CMYKcmyk(29.3%, 30.4%, 0%, 29%)
CIE-LABlab(54.91, 13.41, -28.69)
CIE-LCHlch(54.91, 31.67, 295.06°)
OKLaboklab(61.64% 0.0219 -0.0796)
OKLCHoklch(61.64% 0.083 285.4)
XYZxyz(24.7013, 22.8465, 46.8155)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807EB5 #B3B57E
analogous
#7E97B5 #807EB5 #9C7EB5
triadic
#807EB5 #B5807E #7EB580
tetradic
#807EB5 #B57E97 #B3B57E #7EB59C
square
#807EB5 #B57E97 #B3B57E #7EB59C
split-complementary
#807EB5 #B59C7E #97B57E
monochromatic
#454375 #5C5A9C #807EB5 #A6A5CB #CDCCE2

Accessibility & contrast

On white

3.77
#807EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#807EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807EB5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807EB5#FFFFFF#000000##000000
##807EB51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F85B7
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#738892
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #807eb5;
/* rgb */ color: rgb(128, 126, 181);
/* oklch */ color: oklch(61.6% 0.083 285.4);
Tailwind
colors: {
  custom: {
    50: '#a6a3cb',
    500: '#807eb5',
    950: '#000000',
  },
}
SCSS
$custom: #807eb5;
$custom-light: #a6a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#807eb5",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 242.182,
    "s": 27.094,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.08252,
    "h": 285.4
  },
  "luminance": 0.22847
}

Semantic roles & 50–950 ramp

primary
#807EB5
secondary
#D1D2BD
accent
#A640A2
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #807EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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