#807EC3#807EC3

#807EC3 is a light, moderate blue. Relative luminance 0.235; OKLCH L 62.3% C 0.103 H 284.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#807EC3
RGBrgb(128, 126, 195)
HSLhsl(242, 37%, 63%)
HSVhsv(242, 35%, 76%)
CMYKcmyk(34.4%, 35.4%, 0%, 23.5%)
CIE-LABlab(55.53, 17.12, -35.72)
CIE-LCHlch(55.53, 39.61, 295.60°)
OKLaboklab(62.32% 0.0255 -0.0998)
OKLCHoklch(62.32% 0.103 284.3)
XYZxyz(26.2106, 23.4502, 54.7645)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807EC3 #C1C37E
analogous
#7E9EC3 #807EC3 #A27EC3
triadic
#807EC3 #C3807E #7EC380
tetradic
#807EC3 #C37E9E #C1C37E #7EC3A2
square
#807EC3 #C37E9E #C1C37E #7EC3A2
split-complementary
#807EC3 #C3A27E #9EC37E
monochromatic
#413F88 #5754B0 #807EC3 #A9A8D6 #D2D2EA

Accessibility & contrast

On white

3.69
#807EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#807EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807EC3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807EC3#FFFFFF#000000##000000
##807EC31.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6987C6
Deuteranopia (green-blind)
#6783C1
Tritanopia (blue-blind)
#6F8B97
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #807ec3;
/* rgb */ color: rgb(128, 126, 195);
/* oklch */ color: oklch(62.3% 0.103 284.3);
Tailwind
colors: {
  custom: {
    50: '#a7a3d5',
    500: '#807ec3',
    950: '#000000',
  },
}
SCSS
$custom: #807ec3;
$custom-light: #a7a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#807ec3",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 195
  },
  "hsl": {
    "h": 241.739,
    "s": 36.508,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62321,
    "c": 0.10303,
    "h": 284.3
  },
  "luminance": 0.23451
}

Semantic roles & 50–950 ramp

primary
#807EC3
secondary
#DADBC2
accent
#AF36AC
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #807EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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