#817EF7#817EF7

#817EF7 is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.3% C 0.176 H 281.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#817EF7
RGBrgb(129, 126, 247)
HSLhsl(241, 88%, 73%)
HSVhsv(241, 49%, 97%)
CMYKcmyk(47.8%, 49%, 0%, 3.1%)
CIE-LABlab(58.32, 32.12, -60.45)
CIE-LCHlch(58.32, 68.45, 297.98°)
OKLaboklab(65.34% 0.035 -0.172)
OKLCHoklch(65.34% 0.176 281.5)
XYZxyz(33.2975, 26.3025, 91.3000)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817EF7 #F4F77E
analogous
#7EB7F7 #817EF7 #BE7EF7
triadic
#817EF7 #F7817E #7EF781
tetradic
#817EF7 #F77EB7 #F4F77E #7EF7BE
square
#817EF7 #F77EB7 #F4F77E #7EF7BE
split-complementary
#817EF7 #F7BE7E #B7F77E
monochromatic
#140FEC #4944F3 #817EF7 #B9B8FB #E3E2FD

Accessibility & contrast

On white

3.35
#817EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#817EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817EF7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817EF7#FFFFFF#000000##000000
##817EF71.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#3E88F4
Tritanopia (blue-blind)
#5698AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #817ef7;
/* rgb */ color: rgb(129, 126, 247);
/* oklch */ color: oklch(65.3% 0.176 281.5);
Tailwind
colors: {
  custom: {
    50: '#aca3fa',
    500: '#817ef7',
    950: '#000000',
  },
}
SCSS
$custom: #817ef7;
$custom-light: #aca3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#817ef7",
  "rgb": {
    "r": 129,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 241.488,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65342,
    "c": 0.17555,
    "h": 281.5
  },
  "luminance": 0.26304
}

Semantic roles & 50–950 ramp

primary
#817EF7
secondary
#F4F5D6
accent
#E501DF
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #817EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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