#828EF8#828EF8

#828EF8 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.5% C 0.155 H 276.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#828EF8
RGBrgb(130, 142, 248)
HSLhsl(234, 89%, 74%)
HSVhsv(234, 48%, 97%)
CMYKcmyk(47.6%, 42.7%, 0%, 2.7%)
CIE-LABlab(62.40, 23.24, -54.50)
CIE-LCHlch(62.40, 59.25, 293.09°)
OKLaboklab(68.46% 0.0179 -0.1544)
OKLCHoklch(68.46% 0.155 276.6)
XYZxyz(35.8169, 30.8671, 92.8594)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828EF8 #F8EC82
analogous
#82C9F8 #828EF8 #B182F8
triadic
#828EF8 #F8828E #8EF882
tetradic
#828EF8 #F882C9 #F8EC82 #82F8B1
square
#828EF8 #F882C9 #F8EC82 #82F8B1
split-complementary
#828EF8 #F8B182 #C9F882
monochromatic
#0E25F2 #485AF5 #828EF8 #BCC2FB #E2E5FD

Accessibility & contrast

On white

2.93
#828EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#828EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #828EF8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828EF8#FFFFFF#000000##000000
##828EF81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#5992F6
Tritanopia (blue-blind)
#55A4B7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #828ef8;
/* rgb */ color: rgb(130, 142, 248);
/* oklch */ color: oklch(68.5% 0.155 276.6);
Tailwind
colors: {
  custom: {
    50: '#acaefb',
    500: '#828ef8',
    950: '#000000',
  },
}
SCSS
$custom: #828ef8;
$custom-light: #acaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#828ef8",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 233.898,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68463,
    "c": 0.15547,
    "h": 276.6
  },
  "luminance": 0.30869
}

Semantic roles & 50–950 ramp

primary
#828EF8
secondary
#F5F2D6
accent
#CE00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #828EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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