#817BFD#817BFD

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

Color values

HEX#817BFD
RGBrgb(129, 123, 253)
HSLhsl(243, 97%, 74%)
HSVhsv(243, 51%, 99%)
CMYKcmyk(49%, 51.4%, 0%, 0.8%)
CIE-LABlab(57.96, 35.64, -64.34)
CIE-LCHlch(57.96, 73.55, 298.98°)
OKLaboklab(65.19% 0.0388 -0.1835)
OKLCHoklch(65.19% 0.188 281.9)
XYZxyz(33.8605, 25.9231, 96.1289)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817BFD #F7FD7B
analogous
#7BB6FD #817BFD #C27BFD
triadic
#817BFD #FD817B #7BFD81
tetradic
#817BFD #FD7BB6 #F7FD7B #7BFDC2
square
#817BFD #FD7BB6 #F7FD7B #7BFDC2
split-complementary
#817BFD #FDC27B #B6FD7B
monochromatic
#0F04FA #473FFC #817BFD #BBB7FE #E2E1FF

Accessibility & contrast

On white

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

On black

6.18
#817BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817BFD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817BFD#FFFFFF#000000##000000
##817BFD1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#2E87FA
Tritanopia (blue-blind)
#5298B0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #817bfd;
/* rgb */ color: rgb(129, 123, 253);
/* oklch */ color: oklch(65.2% 0.188 281.9);
Tailwind
colors: {
  custom: {
    50: '#ada1ff',
    500: '#817bfd',
    950: '#000000',
  },
}
SCSS
$custom: #817bfd;
$custom-light: #ada1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#817bfd",
  "rgb": {
    "r": 129,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 242.769,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65187,
    "c": 0.18752,
    "h": 281.9
  },
  "luminance": 0.25925
}

Semantic roles & 50–950 ramp

primary
#817BFD
secondary
#F5F7D4
accent
#E600DB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #817BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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