#817BD7#817BD7

#817BD7 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.9% C 0.136 H 284.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#817BD7
RGBrgb(129, 123, 215)
HSLhsl(244, 53%, 66%)
HSVhsv(244, 43%, 84%)
CMYKcmyk(40%, 42.8%, 0%, 15.7%)
CIE-LABlab(55.82, 24.67, -46.58)
CIE-LCHlch(55.82, 52.71, 297.91°)
OKLaboklab(62.88% 0.0346 -0.1314)
OKLCHoklch(62.88% 0.136 284.7)
XYZxyz(28.3985, 23.7383, 67.3625)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817BD7 #D1D77B
analogous
#7BA3D7 #817BD7 #AF7BD7
triadic
#817BD7 #D7817B #7BD781
tetradic
#817BD7 #D77BA3 #D1D77B #7BD7AF
square
#817BD7 #D77BA3 #D1D77B #7BD7AF
split-complementary
#817BD7 #D7AF7B #A3D77B
monochromatic
#3A32A5 #544CC9 #817BD7 #AEAAE5 #DBD9F3

Accessibility & contrast

On white

3.65
#817BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#817BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817BD7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817BD7#FFFFFF#000000##000000
##817BD71.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A89DA
Deuteranopia (green-blind)
#5783D5
Tritanopia (blue-blind)
#688D9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #817bd7;
/* rgb */ color: rgb(129, 123, 215);
/* oklch */ color: oklch(62.9% 0.136 284.7);
Tailwind
colors: {
  custom: {
    50: '#a9a1e4',
    500: '#817bd7',
    950: '#000000',
  },
}
SCSS
$custom: #817bd7;
$custom-light: #a9a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#817bd7",
  "rgb": {
    "r": 129,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 243.913,
    "s": 53.488,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62883,
    "c": 0.13587,
    "h": 284.7
  },
  "luminance": 0.23739
}

Semantic roles & 50–950 ramp

primary
#817BD7
secondary
#E4E6C8
accent
#C125B7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100F15
muted
#7F7E84

Preview Lab

Preview with #817BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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