#828CFA#828CFA

#828CFA is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.2% C 0.161 H 277.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#828CFA
RGBrgb(130, 140, 250)
HSLhsl(235, 92%, 75%)
HSVhsv(235, 48%, 98%)
CMYKcmyk(48%, 44%, 0%, 2%)
CIE-LABlab(62.00, 25.00, -56.23)
CIE-LCHlch(62.00, 61.54, 293.97°)
OKLaboklab(68.2% 0.0205 -0.1595)
OKLCHoklch(68.2% 0.161 277.3)
XYZxyz(35.8340, 30.4021, 94.4039)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828CFA #FAF082
analogous
#82C8FA #828CFA #B482FA
triadic
#828CFA #FA828C #8CFA82
tetradic
#828CFA #FA82C8 #FAF082 #82FAB4
square
#828CFA #FA82C8 #FAF082 #82FAB4
split-complementary
#828CFA #FAB482 #C8FA82
monochromatic
#0C20F5 #4756F8 #828CFA #BDC2FC #E2E4FE

Accessibility & contrast

On white

2.97
#828CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#828CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #828CFA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828CFA#FFFFFF#000000##000000
##828CFA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#5591F8
Tritanopia (blue-blind)
#54A3B7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #828cfa;
/* rgb */ color: rgb(130, 140, 250);
/* oklch */ color: oklch(68.2% 0.161 277.3);
Tailwind
colors: {
  custom: {
    50: '#adadfc',
    500: '#828cfa',
    950: '#000000',
  },
}
SCSS
$custom: #828cfa;
$custom-light: #adadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#828cfa",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 235,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68196,
    "c": 0.16083,
    "h": 277.3
  },
  "luminance": 0.30404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #828CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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