#817EFE#817EFE

#817EFE is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.8% C 0.185 H 281.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#817EFE
RGBrgb(129, 126, 254)
HSLhsl(241, 98%, 75%)
HSVhsv(241, 50%, 100%)
CMYKcmyk(49.2%, 50.4%, 0%, 0.4%)
CIE-LABlab(58.74, 34.18, -63.65)
CIE-LCHlch(58.74, 72.25, 298.24°)
OKLaboklab(65.79% 0.0356 -0.1814)
OKLCHoklch(65.79% 0.185 281.1)
XYZxyz(34.3981, 26.7427, 97.0961)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817EFE #FBFE7E
analogous
#7EBBFE #817EFE #C17EFE
triadic
#817EFE #FE817E #7EFE81
tetradic
#817EFE #FE7EBB #FBFE7E #7EFEC1
square
#817EFE #FE7EBB #FBFE7E #7EFEC1
split-complementary
#817EFE #FEC17E #BBFE7E
monochromatic
#0A05FD #4641FE #817EFE #BCBBFE #E1E1FF

Accessibility & contrast

On white

3.31
#817EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#817EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817EFE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817EFE#FFFFFF#000000##000000
##817EFE1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#3489FB
Tritanopia (blue-blind)
#519AB2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #817efe;
/* rgb */ color: rgb(129, 126, 254);
/* oklch */ color: oklch(65.8% 0.185 281.1);
Tailwind
colors: {
  custom: {
    50: '#ada3ff',
    500: '#817efe',
    950: '#000000',
  },
}
SCSS
$custom: #817efe;
$custom-light: #ada3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#817efe",
  "rgb": {
    "r": 129,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 241.406,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.65785,
    "c": 0.18488,
    "h": 281.1
  },
  "luminance": 0.26745
}

Semantic roles & 50–950 ramp

primary
#817EFE
secondary
#F6F7D4
accent
#E600E0
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #817EFE

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

Preview Lab → · Contrast checker → · Palette generator →

#817EFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva