#817FF5#817FF5

#817FF5 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.4% C 0.172 H 281.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#817FF5
RGBrgb(129, 127, 245)
HSLhsl(241, 86%, 73%)
HSVhsv(241, 48%, 96%)
CMYKcmyk(47.3%, 48.2%, 0%, 3.9%)
CIE-LABlab(58.45, 30.94, -59.15)
CIE-LCHlch(58.45, 66.75, 297.62°)
OKLaboklab(65.4% 0.0337 -0.1682)
OKLCHoklch(65.4% 0.172 281.3)
XYZxyz(33.1191, 26.4367, 89.7262)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817FF5 #F3F57F
analogous
#7FB8F5 #817FF5 #BC7FF5
triadic
#817FF5 #F5817F #7FF581
tetradic
#817FF5 #F57FB8 #F3F57F #7FF5BC
square
#817FF5 #F57FB8 #F3F57F #7FF5BC
split-complementary
#817FF5 #F5BC7F #B8F57F
monochromatic
#1612E8 #4946F1 #817FF5 #B9B8F9 #E3E3FD

Accessibility & contrast

On white

3.34
#817FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#817FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817FF5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817FF5#FFFFFF#000000##000000
##817FF51.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F9
Deuteranopia (green-blind)
#4288F2
Tritanopia (blue-blind)
#5798AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #817ff5;
/* rgb */ color: rgb(129, 127, 245);
/* oklch */ color: oklch(65.4% 0.172 281.3);
Tailwind
colors: {
  custom: {
    50: '#aca4f9',
    500: '#817ff5',
    950: '#000000',
  },
}
SCSS
$custom: #817ff5;
$custom-light: #aca4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#817ff5",
  "rgb": {
    "r": 129,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 241.017,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.654,
    "c": 0.17152,
    "h": 281.3
  },
  "luminance": 0.26438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #817FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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