#817AB3#817AB3

#817AB3 is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.8% C 0.086 H 289.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#817AB3
RGBrgb(129, 122, 179)
HSLhsl(247, 27%, 59%)
HSVhsv(247, 32%, 70%)
CMYKcmyk(27.9%, 31.8%, 0%, 29.8%)
CIE-LABlab(53.86, 15.57, -29.17)
CIE-LCHlch(53.86, 33.07, 298.08°)
OKLaboklab(60.82% 0.0282 -0.0809)
OKLCHoklch(60.82% 0.086 289.2)
XYZxyz(24.1474, 21.8404, 45.5825)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817AB3 #ACB37A
analogous
#7A90B3 #817AB3 #9E7AB3
triadic
#817AB3 #B3817A #7AB381
tetradic
#817AB3 #B37A90 #ACB37A #7AB39E
square
#817AB3 #B37A90 #ACB37A #7AB39E
split-complementary
#817AB3 #B39E7A #90B37A
monochromatic
#474172 #5F5799 #817AB3 #A6A1C9 #CBC8E0

Accessibility & contrast

On white

3.91
#817AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#817AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817AB3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817AB3#FFFFFF#000000##000000
##817AB31.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B82B5
Deuteranopia (green-blind)
#6A7FB2
Tritanopia (blue-blind)
#76848F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #817ab3;
/* rgb */ color: rgb(129, 122, 179);
/* oklch */ color: oklch(60.8% 0.086 289.2);
Tailwind
colors: {
  custom: {
    50: '#a7a0ca',
    500: '#817ab3',
    950: '#000000',
  },
}
SCSS
$custom: #817ab3;
$custom-light: #a7a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#817ab3",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 179
  },
  "hsl": {
    "h": 247.368,
    "s": 27.273,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60819,
    "c": 0.08571,
    "h": 289.2
  },
  "luminance": 0.21841
}

Semantic roles & 50–950 ramp

primary
#817AB3
secondary
#CDD0B9
accent
#C464B8
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #817AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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