#807FA2#807FA2

#807FA2 is a mid, muted blue. Relative luminance 0.224; OKLCH L 61.0% C 0.053 H 286.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#807FA2
RGBrgb(128, 127, 162)
HSLhsl(242, 16%, 57%)
HSVhsv(242, 22%, 64%)
CMYKcmyk(21%, 21.6%, 0%, 36.5%)
CIE-LABlab(54.42, 8.08, -18.50)
CIE-LCHlch(54.42, 20.19, 293.59°)
OKLaboklab(61.01% 0.0146 -0.0506)
OKLCHoklch(61.01% 0.053 286)
XYZxyz(23.0115, 22.3762, 37.2821)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807FA2 #A1A27F
analogous
#7F90A2 #807FA2 #927FA2
triadic
#807FA2 #A2807F #7FA280
tetradic
#807FA2 #A27F90 #A1A27F #7FA292
square
#807FA2 #A27F90 #A1A27F #7FA292
split-complementary
#807FA2 #A2927F #90A27F
monochromatic
#474660 #616084 #807FA2 #A3A2BC #C6C6D6

Accessibility & contrast

On white

3.84
#807FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#807FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807FA2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807FA2#FFFFFF#000000##000000
##807FA21.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7683A4
Deuteranopia (green-blind)
#7681A1
Tritanopia (blue-blind)
#79858B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #807fa2;
/* rgb */ color: rgb(128, 127, 162);
/* oklch */ color: oklch(61.0% 0.053 286.0);
Tailwind
colors: {
  custom: {
    50: '#a5a4bd',
    500: '#807fa2',
    950: '#000000',
  },
}
SCSS
$custom: #807fa2;
$custom-light: #a5a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#807fa2",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 241.714,
    "s": 15.837,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61012,
    "c": 0.05269,
    "h": 286
  },
  "luminance": 0.22377
}

Semantic roles & 50–950 ramp

primary
#807FA2
secondary
#C5C6B7
accent
#B96FB6
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#0F0F12
muted
#7F7F81

Preview Lab

Preview with #807FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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