#807DEB#807DEB

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

Color values

HEX#807DEB
RGBrgb(128, 125, 235)
HSLhsl(242, 73%, 71%)
HSVhsv(242, 47%, 92%)
CMYKcmyk(45.5%, 46.8%, 0%, 7.8%)
CIE-LABlab(57.32, 28.97, -55.41)
CIE-LCHlch(57.32, 62.52, 297.60°)
OKLaboklab(64.35% 0.0338 -0.1572)
OKLCHoklch(64.35% 0.161 282.1)
XYZxyz(31.2266, 25.2531, 81.8101)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807DEB #E8EB7D
analogous
#7DB1EB #807DEB #B77DEB
triadic
#807DEB #EB807D #7DEB80
tetradic
#807DEB #EB7DB1 #E8EB7D #7DEBB7
square
#807DEB #EB7DB1 #E8EB7D #7DEBB7
split-complementary
#807DEB #EBB77D #B1EB7D
monochromatic
#2420CE #4C48E3 #807DEB #B4B2F3 #E5E4FB

Accessibility & contrast

On white

3.47
#807DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#807DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807DEB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807DEB#FFFFFF#000000##000000
##807DEB1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEF
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#5C94A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #807deb;
/* rgb */ color: rgb(128, 125, 235);
/* oklch */ color: oklch(64.3% 0.161 282.1);
Tailwind
colors: {
  custom: {
    50: '#aaa2f2',
    500: '#807deb',
    950: '#000000',
  },
}
SCSS
$custom: #807deb;
$custom-light: #aaa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#807deb",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 241.636,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64347,
    "c": 0.16082,
    "h": 282.1
  },
  "luminance": 0.25255
}

Semantic roles & 50–950 ramp

primary
#807DEB
secondary
#F0F1D3
accent
#D510D0
background
#FAFAFE
surface
#F5F3FD
border
#CFCDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #807DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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