#807FEA#807FEA

#807FEA is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.7% C 0.157 H 281.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#807FEA
RGBrgb(128, 127, 234)
HSLhsl(241, 72%, 71%)
HSVhsv(241, 46%, 92%)
CMYKcmyk(45.3%, 45.7%, 0%, 8.2%)
CIE-LABlab(57.76, 27.50, -54.15)
CIE-LCHlch(57.76, 60.73, 296.92°)
OKLaboklab(64.66% 0.0313 -0.1536)
OKLCHoklch(64.66% 0.157 281.5)
XYZxyz(31.3383, 25.7070, 81.1366)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807FEA #E9EA7F
analogous
#7FB3EA #807FEA #B57FEA
triadic
#807FEA #EA807F #7FEA80
tetradic
#807FEA #EA7FB3 #E9EA7F #7FEAB5
square
#807FEA #EA7FB3 #E9EA7F #7FEAB5
split-complementary
#807FEA #EAB57F #B3EA7F
monochromatic
#2322CD #4C4AE1 #807FEA #B4B4F3 #E5E5FB

Accessibility & contrast

On white

3.42
#807FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#807FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807FEA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807FEA#FFFFFF#000000##000000
##807FEA1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#5C95A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #807fea;
/* rgb */ color: rgb(128, 127, 234);
/* oklch */ color: oklch(64.7% 0.157 281.5);
Tailwind
colors: {
  custom: {
    50: '#aaa4f1',
    500: '#807fea',
    950: '#000000',
  },
}
SCSS
$custom: #807fea;
$custom-light: #aaa4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#807fea",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 240.561,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64659,
    "c": 0.15671,
    "h": 281.5
  },
  "luminance": 0.25708
}

Semantic roles & 50–950 ramp

primary
#807FEA
secondary
#F1F1D4
accent
#D412D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #807FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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