#807ECA#807ECA

#807ECA is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.7% C 0.113 H 283.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#807ECA
RGBrgb(128, 126, 202)
HSLhsl(242, 42%, 64%)
HSVhsv(242, 38%, 79%)
CMYKcmyk(36.6%, 37.6%, 0%, 20.8%)
CIE-LABlab(55.86, 19.02, -39.18)
CIE-LCHlch(55.86, 43.56, 295.89°)
OKLaboklab(62.68% 0.0271 -0.1099)
OKLCHoklch(62.68% 0.113 283.8)
XYZxyz(27.0206, 23.7743, 59.0309)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807ECA #C8CA7E
analogous
#7EA2CA #807ECA #A67ECA
triadic
#807ECA #CA807E #7ECA80
tetradic
#807ECA #CA7EA2 #C8CA7E #7ECAA6
square
#807ECA #CA7EA2 #C8CA7E #7ECAA6
split-complementary
#807ECA #CAA67E #A2CA7E
monochromatic
#3E3C92 #5553B8 #807ECA #ABA9DC #D5D5EE

Accessibility & contrast

On white

3.65
#807ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#807ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807ECA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807ECA#FFFFFF#000000##000000
##807ECA1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CD
Deuteranopia (green-blind)
#6383C8
Tritanopia (blue-blind)
#6C8D9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #807eca;
/* rgb */ color: rgb(128, 126, 202);
/* oklch */ color: oklch(62.7% 0.113 283.8);
Tailwind
colors: {
  custom: {
    50: '#a7a3da',
    500: '#807eca',
    950: '#000000',
  },
}
SCSS
$custom: #807eca;
$custom-light: #a7a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#807eca",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 241.579,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6268,
    "c": 0.11314,
    "h": 283.8
  },
  "luminance": 0.23775
}

Semantic roles & 50–950 ramp

primary
#807ECA
secondary
#DEDFC5
accent
#B531B1
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #807ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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