#807EEC#807EEC

#807EEC is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.6% C 0.161 H 281.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#807EEC
RGBrgb(128, 126, 236)
HSLhsl(241, 74%, 71%)
HSVhsv(241, 47%, 93%)
CMYKcmyk(45.8%, 46.6%, 0%, 7.5%)
CIE-LABlab(57.62, 28.67, -55.48)
CIE-LCHlch(57.62, 62.45, 297.33°)
OKLaboklab(64.59% 0.0327 -0.1575)
OKLCHoklch(64.59% 0.161 281.7)
XYZxyz(31.4987, 25.5655, 82.6155)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807EEC #EAEC7E
analogous
#7EB3EC #807EEC #B77EEC
triadic
#807EEC #EC807E #7EEC80
tetradic
#807EEC #EC7EB3 #EAEC7E #7EECB7
square
#807EEC #EC7EB3 #EAEC7E #7EECB7
split-complementary
#807EEC #ECB77E #B3EC7E
monochromatic
#221FD1 #4B49E4 #807EEC #B5B3F4 #E5E4FB

Accessibility & contrast

On white

3.44
#807EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#807EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807EEC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807EEC#FFFFFF#000000##000000
##807EEC1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#4A87EA
Tritanopia (blue-blind)
#5B95AA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #807eec;
/* rgb */ color: rgb(128, 126, 236);
/* oklch */ color: oklch(64.6% 0.161 281.7);
Tailwind
colors: {
  custom: {
    50: '#aaa3f3',
    500: '#807eec',
    950: '#000000',
  },
}
SCSS
$custom: #807eec;
$custom-light: #aaa3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#807eec",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 241.091,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64593,
    "c": 0.16082,
    "h": 281.7
  },
  "luminance": 0.25567
}

Semantic roles & 50–950 ramp

primary
#807EEC
secondary
#F1F2D4
accent
#D60FD3
background
#FAFAFE
surface
#F5F3FD
border
#CFCDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #807EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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