#807FB2#807FB2

#807FB2 is a mid, moderate blue. Relative luminance 0.230; OKLCH L 61.7% C 0.077 H 284.8°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#807FB2
RGBrgb(128, 127, 178)
HSLhsl(241, 25%, 60%)
HSVhsv(241, 29%, 70%)
CMYKcmyk(28.1%, 28.7%, 0%, 30.2%)
CIE-LABlab(55.05, 12.05, -26.75)
CIE-LCHlch(55.05, 29.34, 294.26°)
OKLaboklab(61.71% 0.0196 -0.074)
OKLCHoklch(61.71% 0.077 284.8)
XYZxyz(24.5253, 22.9817, 45.2546)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807FB2 #B1B27F
analogous
#7F98B2 #807FB2 #997FB2
triadic
#807FB2 #B2807F #7FB280
tetradic
#807FB2 #B27F98 #B1B27F #7FB299
square
#807FB2 #B27F98 #B1B27F #7FB299
split-complementary
#807FB2 #B2997F #98B27F
monochromatic
#454572 #5D5C98 #807FB2 #A6A5C9 #CCCBE0

Accessibility & contrast

On white

3.75
#807FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#807FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807FB2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807FB2#FFFFFF#000000##000000
##807FB21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7185B4
Deuteranopia (green-blind)
#6F82B1
Tritanopia (blue-blind)
#748891
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #807fb2;
/* rgb */ color: rgb(128, 127, 178);
/* oklch */ color: oklch(61.7% 0.077 284.8);
Tailwind
colors: {
  custom: {
    50: '#a6a4c9',
    500: '#807fb2',
    950: '#000000',
  },
}
SCSS
$custom: #807fb2;
$custom-light: #a6a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#807fb2",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 241.176,
    "s": 24.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61707,
    "c": 0.07658,
    "h": 284.8
  },
  "luminance": 0.22982
}

Semantic roles & 50–950 ramp

primary
#807FB2
secondary
#D0D0BD
accent
#C167C0
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #807FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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