#807BB5#807BB5

#807BB5 is a mid, moderate blue. Relative luminance 0.221; OKLCH L 61.0% C 0.087 H 287.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#807BB5
RGBrgb(128, 123, 181)
HSLhsl(245, 28%, 60%)
HSVhsv(245, 32%, 71%)
CMYKcmyk(29.3%, 32%, 0%, 29%)
CIE-LABlab(54.12, 15.19, -29.91)
CIE-LCHlch(54.12, 33.55, 296.92°)
OKLaboklab(61.03% 0.0262 -0.0831)
OKLCHoklch(61.03% 0.087 287.5)
XYZxyz(24.3234, 22.0908, 46.6895)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807BB5 #B0B57B
analogous
#7B93B5 #807BB5 #9D7BB5
triadic
#807BB5 #B5807B #7BB580
tetradic
#807BB5 #B57B93 #B0B57B #7BB59D
square
#807BB5 #B57B93 #B0B57B #7BB59D
split-complementary
#807BB5 #B59D7B #93B57B
monochromatic
#464174 #5D579C #807BB5 #A6A2CB #CBC9E1

Accessibility & contrast

On white

3.88
#807BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#807BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807BB5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807BB5#FFFFFF#000000##000000
##807BB51.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B83B7
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#748590
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #807bb5;
/* rgb */ color: rgb(128, 123, 181);
/* oklch */ color: oklch(61.0% 0.087 287.5);
Tailwind
colors: {
  custom: {
    50: '#a6a1cb',
    500: '#807bb5',
    950: '#000000',
  },
}
SCSS
$custom: #807bb5;
$custom-light: #a6a1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#807bb5",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 181
  },
  "hsl": {
    "h": 245.172,
    "s": 28.155,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.08711,
    "h": 287.5
  },
  "luminance": 0.22091
}

Semantic roles & 50–950 ramp

primary
#807BB5
secondary
#CFD1BB
accent
#C463BC
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #807BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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