#807DB1#807DB1

#807DB1 is a mid, moderate blue. Relative luminance 0.224; OKLCH L 61.3% C 0.078 H 286.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#807DB1
RGBrgb(128, 125, 177)
HSLhsl(243, 25%, 59%)
HSVhsv(243, 29%, 69%)
CMYKcmyk(27.7%, 29.4%, 0%, 30.6%)
CIE-LABlab(54.48, 12.98, -27.06)
CIE-LCHlch(54.48, 30.01, 295.62°)
OKLaboklab(61.25% 0.0222 -0.0749)
OKLCHoklch(61.25% 0.078 286.5)
XYZxyz(24.1695, 22.4302, 44.6425)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807DB1 #AEB17D
analogous
#7D94B1 #807DB1 #9A7DB1
triadic
#807DB1 #B1807D #7DB180
tetradic
#807DB1 #B17D94 #AEB17D #7DB19A
square
#807DB1 #B17D94 #AEB17D #7DB19A
split-complementary
#807DB1 #B19A7D #94B17D
monochromatic
#464370 #5E5A97 #807DB1 #A5A3C8 #CBCADF

Accessibility & contrast

On white

3.83
#807DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#807DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807DB1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807DB1#FFFFFF#000000##000000
##807DB11.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F84B3
Deuteranopia (green-blind)
#6E81B0
Tritanopia (blue-blind)
#75868F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #807db1;
/* rgb */ color: rgb(128, 125, 177);
/* oklch */ color: oklch(61.3% 0.078 286.5);
Tailwind
colors: {
  custom: {
    50: '#a6a2c8',
    500: '#807db1',
    950: '#000000',
  },
}
SCSS
$custom: #807db1;
$custom-light: #a6a2c8;
$custom-dark: #000000;
JSON
{
  "hex": "#807db1",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 177
  },
  "hsl": {
    "h": 243.462,
    "s": 25,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.07812,
    "h": 286.5
  },
  "luminance": 0.22431
}

Semantic roles & 50–950 ramp

primary
#807DB1
secondary
#CECFBB
accent
#C166BC
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0F13
muted
#7F7E82

Preview Lab

Preview with #807DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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