#817AFD#817AFD

#817AFD is a light, vivid blue. Relative luminance 0.257; OKLCH L 65.0% C 0.189 H 282.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#817AFD
RGBrgb(129, 122, 253)
HSLhsl(243, 97%, 74%)
HSVhsv(243, 52%, 99%)
CMYKcmyk(49%, 51.8%, 0%, 0.8%)
CIE-LABlab(57.73, 36.22, -64.72)
CIE-LCHlch(57.73, 74.17, 299.24°)
OKLaboklab(65.01% 0.0399 -0.1846)
OKLCHoklch(65.01% 0.189 282.2)
XYZxyz(33.7371, 25.6763, 96.0878)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817AFD #F6FD7A
analogous
#7AB4FD #817AFD #C27AFD
triadic
#817AFD #FD817A #7AFD81
tetradic
#817AFD #FD7AB4 #F6FD7A #7AFDC2
square
#817AFD #FD7AB4 #F6FD7A #7AFDC2
split-complementary
#817AFD #FDC27A #B4FD7A
monochromatic
#1104F9 #483EFC #817AFD #BAB6FE #E2E1FF

Accessibility & contrast

On white

3.42
#817AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#817AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817AFD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817AFD#FFFFFF#000000##000000
##817AFD1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#2B86FA
Tritanopia (blue-blind)
#5297B0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #817afd;
/* rgb */ color: rgb(129, 122, 253);
/* oklch */ color: oklch(65.0% 0.189 282.2);
Tailwind
colors: {
  custom: {
    50: '#ada0ff',
    500: '#817afd',
    950: '#000000',
  },
}
SCSS
$custom: #817afd;
$custom-light: #ada0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#817afd",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 243.206,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65011,
    "c": 0.18885,
    "h": 282.2
  },
  "luminance": 0.25678
}

Semantic roles & 50–950 ramp

primary
#817AFD
secondary
#F5F7D4
accent
#E600D9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #817AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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