#817DF5#817DF5

#817DF5 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.0% C 0.174 H 281.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#817DF5
RGBrgb(129, 125, 245)
HSLhsl(242, 86%, 73%)
HSVhsv(242, 49%, 96%)
CMYKcmyk(47.3%, 49%, 0%, 3.9%)
CIE-LABlab(57.97, 32.12, -59.92)
CIE-LCHlch(57.97, 67.98, 298.19°)
OKLaboklab(65.04% 0.0359 -0.1705)
OKLCHoklch(65.04% 0.174 281.9)
XYZxyz(32.8633, 25.9253, 89.6409)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817DF5 #F1F57D
analogous
#7DB5F5 #817DF5 #BD7DF5
triadic
#817DF5 #F5817D #7DF581
tetradic
#817DF5 #F57DB5 #F1F57D #7DF5BD
square
#817DF5 #F57DB5 #F1F57D #7DF5BD
split-complementary
#817DF5 #F5BD7D #B5F57D
monochromatic
#1912E6 #4A44F1 #817DF5 #B8B6F9 #E3E3FD

Accessibility & contrast

On white

3.40
#817DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#817DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817DF5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817DF5#FFFFFF#000000##000000
##817DF51.003.406.196.19
#FFFFFF3.401.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#3F87F2
Tritanopia (blue-blind)
#5897AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #817df5;
/* rgb */ color: rgb(129, 125, 245);
/* oklch */ color: oklch(65.0% 0.174 281.9);
Tailwind
colors: {
  custom: {
    50: '#aca2f9',
    500: '#817df5',
    950: '#000000',
  },
}
SCSS
$custom: #817df5;
$custom-light: #aca2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#817df5",
  "rgb": {
    "r": 129,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 242,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65036,
    "c": 0.17422,
    "h": 281.9
  },
  "luminance": 0.25927
}

Semantic roles & 50–950 ramp

primary
#817DF5
secondary
#F4F5D6
accent
#E203DB
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #817DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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