#817DFD#817DFD

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

Color values

HEX#817DFD
RGBrgb(129, 125, 253)
HSLhsl(242, 97%, 74%)
HSVhsv(242, 51%, 99%)
CMYKcmyk(49%, 50.6%, 0%, 0.8%)
CIE-LABlab(58.44, 34.47, -63.58)
CIE-LCHlch(58.44, 72.32, 298.46°)
OKLaboklab(65.54% 0.0366 -0.1812)
OKLCHoklch(65.54% 0.185 281.4)
XYZxyz(34.1111, 26.4244, 96.2125)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817DFD #F9FD7D
analogous
#7DB9FD #817DFD #C17DFD
triadic
#817DFD #FD817D #7DFD81
tetradic
#817DFD #FD7DB9 #F9FD7D #7DFDC1
square
#817DFD #FD7DB9 #F9FD7D #7DFDC1
split-complementary
#817DFD #FDC17D #B9FD7D
monochromatic
#0C04FB #4741FC #817DFD #BBB9FE #E2E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817DFD#FFFFFF#000000##000000
##817DFD1.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)
#3E91FF
Deuteranopia (green-blind)
#3388FA
Tritanopia (blue-blind)
#5299B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #817dfd;
/* rgb */ color: rgb(129, 125, 253);
/* oklch */ color: oklch(65.5% 0.185 281.4);
Tailwind
colors: {
  custom: {
    50: '#ada2ff',
    500: '#817dfd',
    950: '#000000',
  },
}
SCSS
$custom: #817dfd;
$custom-light: #ada2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#817dfd",
  "rgb": {
    "r": 129,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 241.875,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.65542,
    "c": 0.18488,
    "h": 281.4
  },
  "luminance": 0.26426
}

Semantic roles & 50–950 ramp

primary
#817DFD
secondary
#F6F7D4
accent
#E600DE
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #817DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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