#817EE8#817EE8

#817EE8 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.4% C 0.155 H 282.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#817EE8
RGBrgb(129, 126, 232)
HSLhsl(242, 70%, 70%)
HSVhsv(242, 46%, 91%)
CMYKcmyk(44.4%, 45.7%, 0%, 9%)
CIE-LABlab(57.48, 27.74, -53.48)
CIE-LCHlch(57.48, 60.25, 297.42°)
OKLaboklab(64.43% 0.0333 -0.1516)
OKLCHoklch(64.43% 0.155 282.4)
XYZxyz(31.0753, 25.4136, 79.5962)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817EE8 #E5E87E
analogous
#7EB0E8 #817EE8 #B67EE8
triadic
#817EE8 #E8817E #7EE881
tetradic
#817EE8 #E87EB0 #E5E87E #7EE8B6
square
#817EE8 #E87EB0 #E5E87E #7EE8B6
split-complementary
#817EE8 #E8B67E #B0E87E
monochromatic
#2824C8 #4E4ADF #817EE8 #B4B2F1 #E6E5FA

Accessibility & contrast

On white

3.45
#817EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#817EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817EE8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817EE8#FFFFFF#000000##000000
##817EE81.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#548EEC
Deuteranopia (green-blind)
#4E86E6
Tritanopia (blue-blind)
#5F94A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #817ee8;
/* rgb */ color: rgb(129, 126, 232);
/* oklch */ color: oklch(64.4% 0.155 282.4);
Tailwind
colors: {
  custom: {
    50: '#aba3f0',
    500: '#817ee8',
    950: '#000000',
  },
}
SCSS
$custom: #817ee8;
$custom-light: #aba3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#817ee8",
  "rgb": {
    "r": 129,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 241.698,
    "s": 69.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6443,
    "c": 0.1552,
    "h": 282.4
  },
  "luminance": 0.25415
}

Semantic roles & 50–950 ramp

primary
#817EE8
secondary
#EFF0D2
accent
#D214CC
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #817EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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