#807CB5#807CB5

#807CB5 is a mid, moderate blue. Relative luminance 0.223; OKLCH L 61.2% C 0.086 H 286.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#807CB5
RGBrgb(128, 124, 181)
HSLhsl(244, 28%, 60%)
HSVhsv(244, 31%, 71%)
CMYKcmyk(29.3%, 31.5%, 0%, 29%)
CIE-LABlab(54.39, 14.60, -29.51)
CIE-LCHlch(54.39, 32.92, 296.32°)
OKLaboklab(61.23% 0.0247 -0.0819)
OKLCHoklch(61.23% 0.086 286.8)
XYZxyz(24.4481, 22.3401, 46.7311)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807CB5 #B1B57C
analogous
#7C94B5 #807CB5 #9D7CB5
triadic
#807CB5 #B5807C #7CB580
tetradic
#807CB5 #B57C94 #B1B57C #7CB59D
square
#807CB5 #B57C94 #B1B57C #7CB59D
split-complementary
#807CB5 #B59D7C #94B57C
monochromatic
#454275 #5D589C #807CB5 #A6A3CB #CCCAE1

Accessibility & contrast

On white

3.84
#807CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#807CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807CB5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807CB5#FFFFFF#000000##000000
##807CB51.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C84B7
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#738690
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #807cb5;
/* rgb */ color: rgb(128, 124, 181);
/* oklch */ color: oklch(61.2% 0.086 286.8);
Tailwind
colors: {
  custom: {
    50: '#a6a1cb',
    500: '#807cb5',
    950: '#000000',
  },
}
SCSS
$custom: #807cb5;
$custom-light: #a6a1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#807cb5",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 181
  },
  "hsl": {
    "h": 244.211,
    "s": 27.805,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.08557,
    "h": 286.8
  },
  "luminance": 0.22341
}

Semantic roles & 50–950 ramp

primary
#807CB5
secondary
#D0D1BB
accent
#C464BD
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0F13
muted
#7F7E82

Preview Lab

Preview with #807CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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