#817FF6#817FF6

#817FF6 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.5% C 0.173 H 281.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#817FF6
RGBrgb(129, 127, 246)
HSLhsl(241, 87%, 73%)
HSVhsv(241, 48%, 96%)
CMYKcmyk(47.6%, 48.4%, 0%, 3.5%)
CIE-LABlab(58.51, 31.24, -59.61)
CIE-LCHlch(58.51, 67.29, 297.66°)
OKLaboklab(65.46% 0.0338 -0.1695)
OKLCHoklch(65.46% 0.173 281.3)
XYZxyz(33.2722, 26.4980, 90.5324)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817FF6 #F4F67F
analogous
#7FB9F6 #817FF6 #BC7FF6
triadic
#817FF6 #F6817F #7FF681
tetradic
#817FF6 #F67FB9 #F4F67F #7FF6BC
square
#817FF6 #F67FB9 #F4F67F #7FF6BC
split-complementary
#817FF6 #F6BC7F #B9F67F
monochromatic
#1410EA #4946F2 #817FF6 #B9B8FA #E3E2FD

Accessibility & contrast

On white

3.33
#817FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#817FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817FF6
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817FF6#FFFFFF#000000##000000
##817FF61.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91FA
Deuteranopia (green-blind)
#4188F3
Tritanopia (blue-blind)
#5799AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #817ff6;
/* rgb */ color: rgb(129, 127, 246);
/* oklch */ color: oklch(65.5% 0.173 281.3);
Tailwind
colors: {
  custom: {
    50: '#aca4fa',
    500: '#817ff6',
    950: '#000000',
  },
}
SCSS
$custom: #817ff6;
$custom-light: #aca4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#817ff6",
  "rgb": {
    "r": 129,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 241.008,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65462,
    "c": 0.17287,
    "h": 281.3
  },
  "luminance": 0.265
}

Semantic roles & 50–950 ramp

primary
#817FF6
secondary
#F4F5D6
accent
#E302E0
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #817FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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