#807EC7#807EC7

#807EC7 is a light, moderate blue. Relative luminance 0.236; OKLCH L 62.5% C 0.109 H 284.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#807EC7
RGBrgb(128, 126, 199)
HSLhsl(242, 39%, 64%)
HSVhsv(242, 37%, 78%)
CMYKcmyk(35.7%, 36.7%, 0%, 22%)
CIE-LABlab(55.72, 18.20, -37.70)
CIE-LCHlch(55.72, 41.87, 295.77°)
OKLaboklab(62.53% 0.0264 -0.1056)
OKLCHoklch(62.53% 0.109 284)
XYZxyz(26.6689, 23.6336, 57.1784)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807EC7 #C5C77E
analogous
#7EA0C7 #807EC7 #A47EC7
triadic
#807EC7 #C7807E #7EC780
tetradic
#807EC7 #C77EA0 #C5C77E #7EC7A4
square
#807EC7 #C77EA0 #C5C77E #7EC7A4
split-complementary
#807EC7 #C7A47E #A0C77E
monochromatic
#403D8D #5653B4 #807EC7 #AAA9DA #D4D3EC

Accessibility & contrast

On white

3.67
#807EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#807EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807EC7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807EC7#FFFFFF#000000##000000
##807EC71.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6788CA
Deuteranopia (green-blind)
#6483C5
Tritanopia (blue-blind)
#6D8C99
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #807ec7;
/* rgb */ color: rgb(128, 126, 199);
/* oklch */ color: oklch(62.5% 0.109 284.0);
Tailwind
colors: {
  custom: {
    50: '#a7a3d8',
    500: '#807ec7',
    950: '#000000',
  },
}
SCSS
$custom: #807ec7;
$custom-light: #a7a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#807ec7",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 241.644,
    "s": 39.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62525,
    "c": 0.10882,
    "h": 284
  },
  "luminance": 0.23634
}

Semantic roles & 50–950 ramp

primary
#807EC7
secondary
#DDDDC4
accent
#B233AF
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #807EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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