#807EB2#807EB2

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

Color values

HEX#807EB2
RGBrgb(128, 126, 178)
HSLhsl(242, 25%, 60%)
HSVhsv(242, 29%, 70%)
CMYKcmyk(28.1%, 29.2%, 0%, 30.2%)
CIE-LABlab(54.79, 12.64, -27.16)
CIE-LCHlch(54.79, 29.96, 294.96°)
OKLaboklab(61.5% 0.021 -0.0752)
OKLCHoklch(61.5% 0.078 285.6)
XYZxyz(24.3968, 22.7247, 45.2118)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807EB2 #B0B27E
analogous
#7E96B2 #807EB2 #9A7EB2
triadic
#807EB2 #B2807E #7EB280
tetradic
#807EB2 #B27E96 #B0B27E #7EB29A
square
#807EB2 #B27E96 #B0B27E #7EB29A
split-complementary
#807EB2 #B29A7E #96B27E
monochromatic
#464472 #5D5B98 #807EB2 #A6A4C9 #CBCBE0

Accessibility & contrast

On white

3.79
#807EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##807EB2#FFFFFF#000000##000000
##807EB21.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7085B4
Deuteranopia (green-blind)
#6E82B1
Tritanopia (blue-blind)
#748790
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #807eb2;
/* rgb */ color: rgb(128, 126, 178);
/* oklch */ color: oklch(61.5% 0.078 285.6);
Tailwind
colors: {
  custom: {
    50: '#a6a3c9',
    500: '#807eb2',
    950: '#000000',
  },
}
SCSS
$custom: #807eb2;
$custom-light: #a6a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#807eb2",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 242.308,
    "s": 25.243,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61502,
    "c": 0.07808,
    "h": 285.6
  },
  "luminance": 0.22725
}

Semantic roles & 50–950 ramp

primary
#807EB2
secondary
#CFD0BC
accent
#C266BE
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #807EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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