#817DFE#817DFE

#817DFE is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.6% C 0.186 H 281.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#817DFE
RGBrgb(129, 125, 254)
HSLhsl(242, 98%, 74%)
HSVhsv(242, 51%, 100%)
CMYKcmyk(49.2%, 50.8%, 0%, 0.4%)
CIE-LABlab(58.50, 34.77, -64.03)
CIE-LCHlch(58.50, 72.86, 298.50°)
OKLaboklab(65.61% 0.0367 -0.1826)
OKLCHoklch(65.61% 0.186 281.4)
XYZxyz(34.2708, 26.4883, 97.0536)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817DFE #FAFE7D
analogous
#7DBAFE #817DFE #C17DFE
triadic
#817DFE #FE817D #7DFE81
tetradic
#817DFE #FE7DBA #FAFE7D #7DFEC1
square
#817DFE #FE7DBA #FAFE7D #7DFEC1
split-complementary
#817DFE #FEC17D #BAFE7D
monochromatic
#0B04FD #4640FE #817DFE #BCBAFE #E2E1FF

Accessibility & contrast

On white

3.33
#817DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#817DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817DFE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817DFE#FFFFFF#000000##000000
##817DFE1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#3188FB
Tritanopia (blue-blind)
#5199B2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #817dfe;
/* rgb */ color: rgb(129, 125, 254);
/* oklch */ color: oklch(65.6% 0.186 281.4);
Tailwind
colors: {
  custom: {
    50: '#ada2ff',
    500: '#817dfe',
    950: '#000000',
  },
}
SCSS
$custom: #817dfe;
$custom-light: #ada2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#817dfe",
  "rgb": {
    "r": 129,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 241.86,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.65606,
    "c": 0.1862,
    "h": 281.4
  },
  "luminance": 0.2649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #817DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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