#807AAA#807AAA

#807AAA is a mid, moderate blue. Relative luminance 0.214; OKLCH L 60.3% C 0.072 H 289.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#807AAA
RGBrgb(128, 122, 170)
HSLhsl(248, 22%, 57%)
HSVhsv(248, 28%, 67%)
CMYKcmyk(24.7%, 28.2%, 0%, 33.3%)
CIE-LABlab(53.40, 12.98, -24.70)
CIE-LCHlch(53.40, 27.90, 297.72°)
OKLaboklab(60.32% 0.0245 -0.0682)
OKLCHoklch(60.32% 0.072 289.8)
XYZxyz(23.1156, 21.4102, 40.9371)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807AAA #A4AA7A
analogous
#7A8CAA #807AAA #987AAA
triadic
#807AAA #AA807A #7AAA80
tetradic
#807AAA #AA7A8C #A4AA7A #7AAA98
square
#807AAA #AA7A8C #A4AA7A #7AAA98
split-complementary
#807AAA #AA987A #8CAA7A
monochromatic
#474267 #605A8D #807AAA #A49FC2 #C7C5DA

Accessibility & contrast

On white

3.98
#807AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#807AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807AAA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807AAA#FFFFFF#000000##000000
##807AAA1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E80AC
Deuteranopia (green-blind)
#6E7EA9
Tritanopia (blue-blind)
#77828B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #807aaa;
/* rgb */ color: rgb(128, 122, 170);
/* oklch */ color: oklch(60.3% 0.072 289.8);
Tailwind
colors: {
  custom: {
    50: '#a5a0c3',
    500: '#807aaa',
    950: '#000000',
  },
}
SCSS
$custom: #807aaa;
$custom-light: #a5a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#807aaa",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 247.5,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60318,
    "c": 0.07244,
    "h": 289.8
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#807AAA
secondary
#C7CAB6
accent
#BF69B4
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #807AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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