#828AF7#828AF7

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

Color values

HEX#828AF7
RGBrgb(130, 138, 247)
HSLhsl(236, 88%, 74%)
HSVhsv(236, 47%, 97%)
CMYKcmyk(47.4%, 44.1%, 0%, 3.1%)
CIE-LABlab(61.34, 25.29, -55.63)
CIE-LCHlch(61.34, 61.11, 294.45°)
OKLaboklab(67.64% 0.0223 -0.1578)
OKLCHoklch(67.64% 0.159 278.1)
XYZxyz(35.0777, 29.6363, 91.8497)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828AF7 #F7EF82
analogous
#82C5F7 #828AF7 #B582F7
triadic
#828AF7 #F7828A #8AF782
tetradic
#828AF7 #F782C5 #F7EF82 #82F7B5
square
#828AF7 #F782C5 #F7EF82 #82F7B5
split-complementary
#828AF7 #F7B582 #C5F782
monochromatic
#0F1FEF #4854F3 #828AF7 #BCC0FB #E2E4FD

Accessibility & contrast

On white

3.03
#828AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#828AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828AF7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828AF7#FFFFFF#000000##000000
##828AF71.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FB
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#57A1B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #828af7;
/* rgb */ color: rgb(130, 138, 247);
/* oklch */ color: oklch(67.6% 0.159 278.1);
Tailwind
colors: {
  custom: {
    50: '#acacfa',
    500: '#828af7',
    950: '#000000',
  },
}
SCSS
$custom: #828af7;
$custom-light: #acacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#828af7",
  "rgb": {
    "r": 130,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 235.897,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67641,
    "c": 0.15936,
    "h": 278.1
  },
  "luminance": 0.29638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #828AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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