#807CB2#807CB2

#807CB2 is a mid, moderate blue. Relative luminance 0.222; OKLCH L 61.1% C 0.081 H 287.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#807CB2
RGBrgb(128, 124, 178)
HSLhsl(244, 26%, 59%)
HSVhsv(244, 30%, 70%)
CMYKcmyk(28.1%, 30.3%, 0%, 30.2%)
CIE-LABlab(54.26, 13.82, -27.98)
CIE-LCHlch(54.26, 31.21, 296.29°)
OKLaboklab(61.09% 0.0239 -0.0775)
OKLCHoklch(61.09% 0.081 287.1)
XYZxyz(24.1436, 22.2183, 45.1274)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807CB2 #AEB27C
analogous
#7C93B2 #807CB2 #9B7CB2
triadic
#807CB2 #B2807C #7CB280
tetradic
#807CB2 #B27C93 #AEB27C #7CB29B
square
#807CB2 #B27C93 #AEB27C #7CB29B
split-complementary
#807CB2 #B29B7C #93B27C
monochromatic
#464271 #5E5998 #807CB2 #A5A3C9 #CBC9DF

Accessibility & contrast

On white

3.86
#807CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#807CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807CB2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807CB2#FFFFFF#000000##000000
##807CB21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B4
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#74858F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #807cb2;
/* rgb */ color: rgb(128, 124, 178);
/* oklch */ color: oklch(61.1% 0.081 287.1);
Tailwind
colors: {
  custom: {
    50: '#a6a1c9',
    500: '#807cb2',
    950: '#000000',
  },
}
SCSS
$custom: #807cb2;
$custom-light: #a6a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#807cb2",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 244.444,
    "s": 25.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61093,
    "c": 0.08114,
    "h": 287.1
  },
  "luminance": 0.22219
}

Semantic roles & 50–950 ramp

primary
#807CB2
secondary
#CECFBA
accent
#C265BB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0F13
muted
#7F7E82

Preview Lab

Preview with #807CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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