#807DEF#807DEF

#807DEF is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.6% C 0.166 H 281.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#807DEF
RGBrgb(128, 125, 239)
HSLhsl(242, 78%, 71%)
HSVhsv(242, 48%, 94%)
CMYKcmyk(46.4%, 47.7%, 0%, 6.3%)
CIE-LABlab(57.55, 30.14, -57.27)
CIE-LCHlch(57.55, 64.71, 297.76°)
OKLaboklab(64.59% 0.0342 -0.1627)
OKLCHoklch(64.59% 0.166 281.9)
XYZxyz(31.8110, 25.4869, 84.8879)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807DEF #ECEF7D
analogous
#7DB3EF #807DEF #B97DEF
triadic
#807DEF #EF807D #7DEF80
tetradic
#807DEF #EF7DB3 #ECEF7D #7DEFB9
square
#807DEF #EF7DB3 #ECEF7D #7DEFB9
split-complementary
#807DEF #EFB97D #B3EF7D
monochromatic
#1F1AD7 #4B47E8 #807DEF #B5B3F6 #E4E4FC

Accessibility & contrast

On white

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

On black

6.10
#807DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807DEF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807DEF#FFFFFF#000000##000000
##807DEF1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#5995AB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #807def;
/* rgb */ color: rgb(128, 125, 239);
/* oklch */ color: oklch(64.6% 0.166 281.9);
Tailwind
colors: {
  custom: {
    50: '#aba2f5',
    500: '#807def',
    950: '#000000',
  },
}
SCSS
$custom: #807def;
$custom-light: #aba2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#807def",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 241.579,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6459,
    "c": 0.16627,
    "h": 281.9
  },
  "luminance": 0.25488
}

Semantic roles & 50–950 ramp

primary
#807DEF
secondary
#F2F3D5
accent
#DA0BD5
background
#FAFAFF
surface
#F5F3FE
border
#CFCDD6
text
#110F17
muted
#807F85

Preview Lab

Preview with #807DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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