#817FF9#817FF9

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

Color values

HEX#817FF9
RGBrgb(129, 127, 249)
HSLhsl(241, 91%, 74%)
HSVhsv(241, 49%, 98%)
CMYKcmyk(48.2%, 49%, 0%, 2.4%)
CIE-LABlab(58.68, 32.12, -60.98)
CIE-LCHlch(58.68, 68.93, 297.77°)
OKLaboklab(65.65% 0.034 -0.1736)
OKLCHoklch(65.65% 0.177 281.1)
XYZxyz(33.7363, 26.6836, 92.9770)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817FF9 #F7F97F
analogous
#7FBAF9 #817FF9 #BE7FF9
triadic
#817FF9 #F9817F #7FF981
tetradic
#817FF9 #F97FBA #F7F97F #7FF9BE
square
#817FF9 #F97FBA #F7F97F #7FF9BE
split-complementary
#817FF9 #F9BE7F #BAF97F
monochromatic
#0F0BF2 #4745F6 #817FF9 #BBB9FC #E2E2FE

Accessibility & contrast

On white

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

On black

6.34
#817FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817FF9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817FF9#FFFFFF#000000##000000
##817FF91.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FD
Deuteranopia (green-blind)
#3D89F6
Tritanopia (blue-blind)
#5599B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #817ff9;
/* rgb */ color: rgb(129, 127, 249);
/* oklch */ color: oklch(65.6% 0.177 281.1);
Tailwind
colors: {
  custom: {
    50: '#aca4fc',
    500: '#817ff9',
    950: '#000000',
  },
}
SCSS
$custom: #817ff9;
$custom-light: #aca4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#817ff9",
  "rgb": {
    "r": 129,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 240.984,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65648,
    "c": 0.17689,
    "h": 281.1
  },
  "luminance": 0.26685
}

Semantic roles & 50–950 ramp

primary
#817FF9
secondary
#F5F6D5
accent
#E600E2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #817FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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