#817BF7#817BF7

#817BF7 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.8% C 0.180 H 282.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#817BF7
RGBrgb(129, 123, 247)
HSLhsl(243, 89%, 73%)
HSVhsv(243, 50%, 97%)
CMYKcmyk(47.8%, 50.2%, 0%, 3.1%)
CIE-LABlab(57.60, 33.88, -61.61)
CIE-LCHlch(57.60, 70.31, 298.81°)
OKLaboklab(64.8% 0.0384 -0.1754)
OKLCHoklch(64.8% 0.18 282.3)
XYZxyz(32.9197, 25.5468, 91.1741)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817BF7 #F1F77B
analogous
#7BB3F7 #817BF7 #BF7BF7
triadic
#817BF7 #F7817B #7BF781
tetradic
#817BF7 #F77BB3 #F1F77B #7BF7BF
square
#817BF7 #F77BB3 #F1F77B #7BF7BF
split-complementary
#817BF7 #F7BF7B #B3F77B
monochromatic
#190EE9 #4A41F4 #817BF7 #B8B5FA #E3E2FD

Accessibility & contrast

On white

3.44
#817BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#817BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817BF7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817BF7#FFFFFF#000000##000000
##817BF71.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFB
Deuteranopia (green-blind)
#3886F4
Tritanopia (blue-blind)
#5696AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #817bf7;
/* rgb */ color: rgb(129, 123, 247);
/* oklch */ color: oklch(64.8% 0.180 282.3);
Tailwind
colors: {
  custom: {
    50: '#aca1fa',
    500: '#817bf7',
    950: '#000000',
  },
}
SCSS
$custom: #817bf7;
$custom-light: #aca1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#817bf7",
  "rgb": {
    "r": 129,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 242.903,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64802,
    "c": 0.17958,
    "h": 282.3
  },
  "luminance": 0.25548
}

Semantic roles & 50–950 ramp

primary
#817BF7
secondary
#F4F5D6
accent
#E500DA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #817BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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