#817AAA#817AAA

#817AAA is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.4% C 0.072 H 290.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#817AAA
RGBrgb(129, 122, 170)
HSLhsl(249, 22%, 57%)
HSVhsv(249, 28%, 67%)
CMYKcmyk(24.1%, 28.2%, 0%, 33.3%)
CIE-LABlab(53.48, 13.30, -24.57)
CIE-LCHlch(53.48, 27.93, 298.43°)
OKLaboklab(60.4% 0.0257 -0.0678)
OKLCHoklch(60.4% 0.072 290.7)
XYZxyz(23.2668, 21.4881, 40.9442)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817AAA #A3AA7A
analogous
#7A8BAA #817AAA #997AAA
triadic
#817AAA #AA817A #7AAA81
tetradic
#817AAA #AA7A8B #A3AA7A #7AAA99
square
#817AAA #AA7A8B #A3AA7A #7AAA99
split-complementary
#817AAA #AA997A #8BAA7A
monochromatic
#484267 #615A8D #817AAA #A49FC2 #C8C5DA

Accessibility & contrast

On white

3.96
#817AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#817AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817AAA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817AAA#FFFFFF#000000##000000
##817AAA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E81AC
Deuteranopia (green-blind)
#6E7FA9
Tritanopia (blue-blind)
#78828B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #817aaa;
/* rgb */ color: rgb(129, 122, 170);
/* oklch */ color: oklch(60.4% 0.072 290.7);
Tailwind
colors: {
  custom: {
    50: '#a6a0c3',
    500: '#817aaa',
    950: '#000000',
  },
}
SCSS
$custom: #817aaa;
$custom-light: #a6a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#817aaa",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 248.75,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60404,
    "c": 0.07246,
    "h": 290.7
  },
  "luminance": 0.21488
}

Semantic roles & 50–950 ramp

primary
#817AAA
secondary
#C7CAB6
accent
#BF69B2
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #817AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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