#828EF7#828EF7

#828EF7 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.4% C 0.154 H 276.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#828EF7
RGBrgb(130, 142, 247)
HSLhsl(234, 88%, 74%)
HSVhsv(234, 47%, 97%)
CMYKcmyk(47.4%, 42.5%, 0%, 3.1%)
CIE-LABlab(62.34, 22.94, -54.03)
CIE-LCHlch(62.34, 58.70, 293.01°)
OKLaboklab(68.41% 0.0177 -0.1531)
OKLCHoklch(68.41% 0.154 276.6)
XYZxyz(35.6622, 30.8052, 92.0445)
Luminance0.3081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828EF7 #F7EB82
analogous
#82C9F7 #828EF7 #B182F7
triadic
#828EF7 #F7828E #8EF782
tetradic
#828EF7 #F782C9 #F7EB82 #82F7B1
square
#828EF7 #F782C9 #F7EB82 #82F7B1
split-complementary
#828EF7 #F7B182 #C9F782
monochromatic
#0F26EF #485AF3 #828EF7 #BCC2FB #E2E5FD

Accessibility & contrast

On white

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

On black

7.16
#828EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #828EF7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828EF7#FFFFFF#000000##000000
##828EF71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFB
Deuteranopia (green-blind)
#5A92F5
Tritanopia (blue-blind)
#56A4B7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #828ef7;
/* rgb */ color: rgb(130, 142, 247);
/* oklch */ color: oklch(68.4% 0.154 276.6);
Tailwind
colors: {
  custom: {
    50: '#acaefa',
    500: '#828ef7',
    950: '#000000',
  },
}
SCSS
$custom: #828ef7;
$custom-light: #acaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#828ef7",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 233.846,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68406,
    "c": 0.1541,
    "h": 276.6
  },
  "luminance": 0.30807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #828EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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