#828AF6#828AF6

#828AF6 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.6% C 0.158 H 278.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#828AF6
RGBrgb(130, 138, 246)
HSLhsl(236, 87%, 74%)
HSVhsv(236, 47%, 96%)
CMYKcmyk(47.2%, 43.9%, 0%, 3.5%)
CIE-LABlab(61.29, 24.99, -55.17)
CIE-LCHlch(61.29, 60.56, 294.37°)
OKLaboklab(67.58% 0.0222 -0.1564)
OKLCHoklch(67.58% 0.158 278.1)
XYZxyz(34.9238, 29.5747, 91.0392)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828AF6 #F6EE82
analogous
#82C4F6 #828AF6 #B482F6
triadic
#828AF6 #F6828A #8AF682
tetradic
#828AF6 #F682C4 #F6EE82 #82F6B4
square
#828AF6 #F682C4 #F6EE82 #82F6B4
split-complementary
#828AF6 #F6B482 #C4F682
monochromatic
#1120ED #4955F2 #828AF6 #BBBFFA #E2E4FD

Accessibility & contrast

On white

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

On black

6.92
#828AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828AF6
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828AF6#FFFFFF#000000##000000
##828AF61.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FA
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#57A1B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #828af6;
/* rgb */ color: rgb(130, 138, 246);
/* oklch */ color: oklch(67.6% 0.158 278.1);
Tailwind
colors: {
  custom: {
    50: '#acacfa',
    500: '#828af6',
    950: '#000000',
  },
}
SCSS
$custom: #828af6;
$custom-light: #acacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#828af6",
  "rgb": {
    "r": 130,
    "g": 138,
    "b": 246
  },
  "hsl": {
    "h": 235.862,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67583,
    "c": 0.15799,
    "h": 278.1
  },
  "luminance": 0.29577
}

Semantic roles & 50–950 ramp

primary
#828AF6
secondary
#F5F3D6
accent
#D402E3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #828AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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