#807BB2#807BB2

#807BB2 is a mid, moderate blue. Relative luminance 0.220; OKLCH L 60.9% C 0.083 H 287.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#807BB2
RGBrgb(128, 123, 178)
HSLhsl(245, 26%, 59%)
HSVhsv(245, 31%, 70%)
CMYKcmyk(28.1%, 30.9%, 0%, 30.2%)
CIE-LABlab(53.99, 14.41, -28.39)
CIE-LCHlch(53.99, 31.84, 296.92°)
OKLaboklab(60.89% 0.0253 -0.0787)
OKLCHoklch(60.89% 0.083 287.8)
XYZxyz(24.0189, 21.9690, 45.0858)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807BB2 #ADB27B
analogous
#7B92B2 #807BB2 #9C7BB2
triadic
#807BB2 #B2807B #7BB280
tetradic
#807BB2 #B27B92 #ADB27B #7BB29C
square
#807BB2 #B27B92 #ADB27B #7BB29C
split-complementary
#807BB2 #B29C7B #92B27B
monochromatic
#464271 #5E5897 #807BB2 #A5A2C9 #CAC8DF

Accessibility & contrast

On white

3.89
#807BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##807BB2#FFFFFF#000000##000000
##807BB21.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C82B4
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#74858F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #807bb2;
/* rgb */ color: rgb(128, 123, 178);
/* oklch */ color: oklch(60.9% 0.083 287.8);
Tailwind
colors: {
  custom: {
    50: '#a6a1c9',
    500: '#807bb2',
    950: '#000000',
  },
}
SCSS
$custom: #807bb2;
$custom-light: #a6a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#807bb2",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 245.455,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6089,
    "c": 0.08269,
    "h": 287.8
  },
  "luminance": 0.21969
}

Semantic roles & 50–950 ramp

primary
#807BB2
secondary
#CDCFBA
accent
#C365BA
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #807BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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