#817EFF#817EFF

#817EFF is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.8% C 0.186 H 281.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#817EFF
RGBrgb(129, 126, 255)
HSLhsl(241, 100%, 75%)
HSVhsv(241, 51%, 100%)
CMYKcmyk(49.4%, 50.6%, 0%, 0%)
CIE-LABlab(58.80, 34.48, -64.11)
CIE-LCHlch(58.80, 72.79, 298.27°)
OKLaboklab(65.85% 0.0356 -0.1828)
OKLCHoklch(65.85% 0.186 281)
XYZxyz(34.5586, 26.8069, 97.9416)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817EFF #FCFF7E
analogous
#7EBCFF #817EFF #C17EFF
triadic
#817EFF #FF817E #7EFF81
tetradic
#817EFF #FF7EBC #FCFF7E #7EFFC1
square
#817EFF #FF7EBC #FCFF7E #7EFFC1
split-complementary
#817EFF #FFC17E #BCFF7E
monochromatic
#0904FF #4541FF #817EFF #BDBBFF #E1E0FF

Accessibility & contrast

On white

3.30
#817EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#817EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817EFF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817EFF#FFFFFF#000000##000000
##817EFF1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#3289FC
Tritanopia (blue-blind)
#509AB3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #817eff;
/* rgb */ color: rgb(129, 126, 255);
/* oklch */ color: oklch(65.8% 0.186 281.0);
Tailwind
colors: {
  custom: {
    50: '#ada3ff',
    500: '#817eff',
    950: '#000000',
  },
}
SCSS
$custom: #817eff;
$custom-light: #ada3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#817eff",
  "rgb": {
    "r": 129,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 241.395,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.65849,
    "c": 0.1862,
    "h": 281
  },
  "luminance": 0.26809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #817EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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