#828CF8#828CF8

#828CF8 is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.1% C 0.158 H 277.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#828CF8
RGBrgb(130, 140, 248)
HSLhsl(235, 89%, 74%)
HSVhsv(235, 48%, 97%)
CMYKcmyk(47.6%, 43.5%, 0%, 2.7%)
CIE-LABlab(61.89, 24.41, -55.30)
CIE-LCHlch(61.89, 60.45, 293.82°)
OKLaboklab(68.08% 0.0202 -0.1568)
OKLCHoklch(68.08% 0.158 277.3)
XYZxyz(35.5220, 30.2773, 92.7611)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828CF8 #F8EE82
analogous
#82C7F8 #828CF8 #B382F8
triadic
#828CF8 #F8828C #8CF882
tetradic
#828CF8 #F882C7 #F8EE82 #82F8B3
square
#828CF8 #F882C7 #F8EE82 #82F8B3
split-complementary
#828CF8 #F8B382 #C7F882
monochromatic
#0E21F2 #4857F5 #828CF8 #BCC1FB #E2E4FD

Accessibility & contrast

On white

2.98
#828CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#828CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #828CF8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828CF8#FFFFFF#000000##000000
##828CF81.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#56A3B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #828cf8;
/* rgb */ color: rgb(130, 140, 248);
/* oklch */ color: oklch(68.1% 0.158 277.3);
Tailwind
colors: {
  custom: {
    50: '#acadfb',
    500: '#828cf8',
    950: '#000000',
  },
}
SCSS
$custom: #828cf8;
$custom-light: #acadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#828cf8",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 234.915,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.6808,
    "c": 0.15809,
    "h": 277.3
  },
  "luminance": 0.30279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #828CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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