#807FB5#807FB5

#807FB5 is a mid, moderate blue. Relative luminance 0.231; OKLCH L 61.8% C 0.081 H 284.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#807FB5
RGBrgb(128, 127, 181)
HSLhsl(241, 27%, 60%)
HSVhsv(241, 30%, 71%)
CMYKcmyk(29.3%, 29.8%, 0%, 29%)
CIE-LABlab(55.18, 12.83, -28.28)
CIE-LCHlch(55.18, 31.05, 294.40°)
OKLaboklab(61.85% 0.0205 -0.0784)
OKLCHoklch(61.85% 0.081 284.6)
XYZxyz(24.8298, 23.1035, 46.8583)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807FB5 #B4B57F
analogous
#7F99B5 #807FB5 #9B7FB5
triadic
#807FB5 #B5807F #7FB580
tetradic
#807FB5 #B57F99 #B4B57F #7FB59B
square
#807FB5 #B57F99 #B4B57F #7FB59B
split-complementary
#807FB5 #B59B7F #99B57F
monochromatic
#454476 #5C5A9C #807FB5 #A6A6CB #CDCDE2

Accessibility & contrast

On white

3.74
#807FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#807FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807FB5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807FB5#FFFFFF#000000##000000
##807FB51.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7086B7
Deuteranopia (green-blind)
#6E83B4
Tritanopia (blue-blind)
#738992
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #807fb5;
/* rgb */ color: rgb(128, 127, 181);
/* oklch */ color: oklch(61.8% 0.081 284.6);
Tailwind
colors: {
  custom: {
    50: '#a6a4cb',
    500: '#807fb5',
    950: '#000000',
  },
}
SCSS
$custom: #807fb5;
$custom-light: #a6a4cb;
$custom-dark: #000000;
JSON
{
  "hex": "#807fb5",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 241.111,
    "s": 26.733,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61845,
    "c": 0.08102,
    "h": 284.6
  },
  "luminance": 0.23104
}

Semantic roles & 50–950 ramp

primary
#807FB5
secondary
#D2D2BE
accent
#A540A3
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #807FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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