#828CEB#828CEB

#828CEB is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.3% C 0.140 H 277.4°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#828CEB
RGBrgb(130, 140, 235)
HSLhsl(234, 72%, 72%)
HSVhsv(234, 45%, 92%)
CMYKcmyk(44.7%, 40.4%, 0%, 7.8%)
CIE-LABlab(61.22, 20.61, -49.20)
CIE-LCHlch(61.22, 53.34, 292.73°)
OKLaboklab(67.35% 0.018 -0.1389)
OKLCHoklch(67.35% 0.14 277.4)
XYZxyz(33.5748, 29.4984, 82.5058)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828CEB #EBE182
analogous
#82C1EB #828CEB #AD82EB
triadic
#828CEB #EB828C #8CEB82
tetradic
#828CEB #EB82C1 #EBE182 #82EBAD
square
#828CEB #EB82C1 #EBE182 #82EBAD
split-complementary
#828CEB #EBAD82 #C1EB82
monochromatic
#2132D1 #4D5BE3 #828CEB #B7BDF3 #E5E7FB

Accessibility & contrast

On white

3.04
#828CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#828CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828CEB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828CEB#FFFFFF#000000##000000
##828CEB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#5EA0B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #828ceb;
/* rgb */ color: rgb(130, 140, 235);
/* oklch */ color: oklch(67.3% 0.140 277.4);
Tailwind
colors: {
  custom: {
    50: '#abadf2',
    500: '#828ceb',
    950: '#000000',
  },
}
SCSS
$custom: #828ceb;
$custom-light: #abadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#828ceb",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 234.286,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67347,
    "c": 0.14011,
    "h": 277.4
  },
  "luminance": 0.295
}

Semantic roles & 50–950 ramp

primary
#828CEB
secondary
#F2EFD7
accent
#C211D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #828CEB

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

Preview Lab → · Contrast checker → · Palette generator →

#828CEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva