#807FEB#807FEB

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

Color values

HEX#807FEB
RGBrgb(128, 127, 235)
HSLhsl(241, 73%, 71%)
HSVhsv(241, 46%, 92%)
CMYKcmyk(45.5%, 46%, 0%, 7.8%)
CIE-LABlab(57.81, 27.79, -54.62)
CIE-LCHlch(57.81, 61.28, 296.97°)
OKLaboklab(64.72% 0.0314 -0.1549)
OKLCHoklch(64.72% 0.158 281.5)
XYZxyz(31.4824, 25.7646, 81.8954)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807FEB #EAEB7F
analogous
#7FB4EB #807FEB #B67FEB
triadic
#807FEB #EB807F #7FEB80
tetradic
#807FEB #EB7FB4 #EAEB7F #7FEBB6
square
#807FEB #EB7FB4 #EAEB7F #7FEBB6
split-complementary
#807FEB #EBB67F #B4EB7F
monochromatic
#2220CF #4B4AE3 #807FEB #B5B4F3 #E5E5FB

Accessibility & contrast

On white

3.41
#807FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#807FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807FEB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807FEB#FFFFFF#000000##000000
##807FEB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#5C96AA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #807feb;
/* rgb */ color: rgb(128, 127, 235);
/* oklch */ color: oklch(64.7% 0.158 281.5);
Tailwind
colors: {
  custom: {
    50: '#aaa4f2',
    500: '#807feb',
    950: '#000000',
  },
}
SCSS
$custom: #807feb;
$custom-light: #aaa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#807feb",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 240.556,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64719,
    "c": 0.15808,
    "h": 281.5
  },
  "luminance": 0.25766
}

Semantic roles & 50–950 ramp

primary
#807FEB
secondary
#F1F1D5
accent
#D510D3
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #807FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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