#807DEC#807DEC

#807DEC is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.4% C 0.162 H 282.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#807DEC
RGBrgb(128, 125, 236)
HSLhsl(242, 74%, 71%)
HSVhsv(242, 47%, 93%)
CMYKcmyk(45.8%, 47%, 0%, 7.5%)
CIE-LABlab(57.38, 29.26, -55.87)
CIE-LCHlch(57.38, 63.07, 297.64°)
OKLaboklab(64.41% 0.0339 -0.1586)
OKLCHoklch(64.41% 0.162 282.1)
XYZxyz(31.3715, 25.3111, 82.5731)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807DEC #E9EC7D
analogous
#7DB1EC #807DEC #B77DEC
triadic
#807DEC #EC807D #7DEC80
tetradic
#807DEC #EC7DB1 #E9EC7D #7DECB7
square
#807DEC #EC7DB1 #E9EC7D #7DECB7
split-complementary
#807DEC #ECB77D #B1EC7D
monochromatic
#231ED0 #4C48E4 #807DEC #B4B2F4 #E5E4FB

Accessibility & contrast

On white

3.46
#807DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#807DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807DEC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807DEC#FFFFFF#000000##000000
##807DEC1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8EF0
Deuteranopia (green-blind)
#4886EA
Tritanopia (blue-blind)
#5B94A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #807dec;
/* rgb */ color: rgb(128, 125, 236);
/* oklch */ color: oklch(64.4% 0.162 282.1);
Tailwind
colors: {
  custom: {
    50: '#aaa2f3',
    500: '#807dec',
    950: '#000000',
  },
}
SCSS
$custom: #807dec;
$custom-light: #aaa2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#807dec",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 241.622,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64408,
    "c": 0.16219,
    "h": 282.1
  },
  "luminance": 0.25313
}

Semantic roles & 50–950 ramp

primary
#807DEC
secondary
#F1F1D3
accent
#D70FD1
background
#FAFAFE
surface
#F5F3FD
border
#CFCDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #807DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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