#807DB5#807DB5

#807DB5 is a mid, moderate blue. Relative luminance 0.226; OKLCH L 61.4% C 0.084 H 286.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#807DB5
RGBrgb(128, 125, 181)
HSLhsl(243, 27%, 60%)
HSVhsv(243, 31%, 71%)
CMYKcmyk(29.3%, 30.9%, 0%, 29%)
CIE-LABlab(54.65, 14.00, -29.10)
CIE-LCHlch(54.65, 32.29, 295.70°)
OKLaboklab(61.44% 0.0233 -0.0807)
OKLCHoklch(61.44% 0.084 286.1)
XYZxyz(24.5740, 22.5921, 46.7731)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807DB5 #B2B57D
analogous
#7D96B5 #807DB5 #9C7DB5
triadic
#807DB5 #B5807D #7DB580
tetradic
#807DB5 #B57D96 #B2B57D #7DB59C
square
#807DB5 #B57D96 #B2B57D #7DB59C
split-complementary
#807DB5 #B59C7D #96B57D
monochromatic
#454375 #5C599C #807DB5 #A6A4CB #CCCBE1

Accessibility & contrast

On white

3.81
#807DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#807DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807DB5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807DB5#FFFFFF#000000##000000
##807DB51.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D84B7
Deuteranopia (green-blind)
#6C81B4
Tritanopia (blue-blind)
#738791
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #807db5;
/* rgb */ color: rgb(128, 125, 181);
/* oklch */ color: oklch(61.4% 0.084 286.1);
Tailwind
colors: {
  custom: {
    50: '#a6a2cb',
    500: '#807db5',
    950: '#000000',
  },
}
SCSS
$custom: #807db5;
$custom-light: #a6a2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#807db5",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 181
  },
  "hsl": {
    "h": 243.214,
    "s": 27.451,
    "l": 60
  },
  "oklch": {
    "l": 0.61437,
    "c": 0.08403,
    "h": 286.1
  },
  "luminance": 0.22593
}

Semantic roles & 50–950 ramp

primary
#807DB5
secondary
#D1D2BC
accent
#C464BF
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0F13
muted
#7F7E82

Preview Lab

Preview with #807DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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