#817CFE#817CFE

#817CFE is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.4% C 0.188 H 281.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#817CFE
RGBrgb(129, 124, 254)
HSLhsl(242, 98%, 74%)
HSVhsv(242, 51%, 100%)
CMYKcmyk(49.2%, 51.2%, 0%, 0.4%)
CIE-LABlab(58.26, 35.35, -64.41)
CIE-LCHlch(58.26, 73.48, 298.76°)
OKLaboklab(65.43% 0.0378 -0.1837)
OKLCHoklch(65.43% 0.188 281.6)
XYZxyz(34.1449, 26.2363, 97.0117)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817CFE #F9FE7C
analogous
#7CB8FE #817CFE #C27CFE
triadic
#817CFE #FE817C #7CFE81
tetradic
#817CFE #FE7CB8 #F9FE7C #7CFEC2
square
#817CFE #FE7CB8 #F9FE7C #7CFEC2
split-complementary
#817CFE #FEC27C #B8FE7C
monochromatic
#0C03FD #473FFE #817CFE #BBB9FE #E2E1FF

Accessibility & contrast

On white

3.36
#817CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#817CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817CFE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817CFE#FFFFFF#000000##000000
##817CFE1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A91FF
Deuteranopia (green-blind)
#2F87FB
Tritanopia (blue-blind)
#5199B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #817cfe;
/* rgb */ color: rgb(129, 124, 254);
/* oklch */ color: oklch(65.4% 0.188 281.6);
Tailwind
colors: {
  custom: {
    50: '#ada2ff',
    500: '#817cfe',
    950: '#000000',
  },
}
SCSS
$custom: #817cfe;
$custom-light: #ada2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#817cfe",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 242.308,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.65429,
    "c": 0.18752,
    "h": 281.6
  },
  "luminance": 0.26238
}

Semantic roles & 50–950 ramp

primary
#817CFE
secondary
#F6F7D4
accent
#E600DD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #817CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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