#807BB1#807BB1

#807BB1 is a mid, moderate blue. Relative luminance 0.219; OKLCH L 60.8% C 0.081 H 288.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#807BB1
RGBrgb(128, 123, 177)
HSLhsl(246, 26%, 59%)
HSVhsv(246, 31%, 69%)
CMYKcmyk(27.7%, 30.5%, 0%, 30.6%)
CIE-LABlab(53.95, 14.16, -27.88)
CIE-LCHlch(53.95, 31.27, 296.92°)
OKLaboklab(60.84% 0.0251 -0.0772)
OKLCHoklch(60.84% 0.081 288)
XYZxyz(23.9189, 21.9290, 44.5590)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807BB1 #ACB17B
analogous
#7B91B1 #807BB1 #9B7BB1
triadic
#807BB1 #B1807B #7BB180
tetradic
#807BB1 #B17B91 #ACB17B #7BB19B
square
#807BB1 #B17B91 #ACB17B #7BB19B
split-complementary
#807BB1 #B19B7B #91B17B
monochromatic
#464270 #5E5996 #807BB1 #A5A1C8 #CAC8DE

Accessibility & contrast

On white

3.90
#807BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#807BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807BB1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807BB1#FFFFFF#000000##000000
##807BB11.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C82B3
Deuteranopia (green-blind)
#6C80B0
Tritanopia (blue-blind)
#75848E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #807bb1;
/* rgb */ color: rgb(128, 123, 177);
/* oklch */ color: oklch(60.8% 0.081 288.0);
Tailwind
colors: {
  custom: {
    50: '#a6a1c8',
    500: '#807bb1',
    950: '#000000',
  },
}
SCSS
$custom: #807bb1;
$custom-light: #a6a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#807bb1",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 177
  },
  "hsl": {
    "h": 245.556,
    "s": 25.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60843,
    "c": 0.08121,
    "h": 288
  },
  "luminance": 0.21929
}

Semantic roles & 50–950 ramp

primary
#807BB1
secondary
#CDCFB9
accent
#C266BA
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #807BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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