#817DA2#817DA2

#817DA2 is a mid, muted blue. Relative luminance 0.219; OKLCH L 60.7% C 0.056 H 289.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#817DA2
RGBrgb(129, 125, 162)
HSLhsl(246, 17%, 56%)
HSVhsv(246, 23%, 64%)
CMYKcmyk(20.4%, 22.8%, 0%, 36.5%)
CIE-LABlab(53.97, 9.58, -19.19)
CIE-LCHlch(53.97, 21.45, 296.53°)
OKLaboklab(60.68% 0.0187 -0.0526)
OKLCHoklch(60.68% 0.056 289.6)
XYZxyz(22.9070, 21.9427, 37.2039)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817DA2 #9EA27D
analogous
#7D8CA2 #817DA2 #947DA2
triadic
#817DA2 #A2817D #7DA281
tetradic
#817DA2 #A27D8C #9EA27D #7DA294
square
#817DA2 #A27D8C #9EA27D #7DA294
split-complementary
#817DA2 #A2947D #8CA27D
monochromatic
#484560 #625E84 #817DA2 #A4A1BC #C6C4D5

Accessibility & contrast

On white

3.90
#817DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#817DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817DA2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817DA2#FFFFFF#000000##000000
##817DA21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7482A4
Deuteranopia (green-blind)
#7480A1
Tritanopia (blue-blind)
#7A838A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #817da2;
/* rgb */ color: rgb(129, 125, 162);
/* oklch */ color: oklch(60.7% 0.056 289.6);
Tailwind
colors: {
  custom: {
    50: '#a6a2bd',
    500: '#817da2',
    950: '#000000',
  },
}
SCSS
$custom: #817da2;
$custom-light: #a6a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#817da2",
  "rgb": {
    "r": 129,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 246.486,
    "s": 16.592,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.05578,
    "h": 289.6
  },
  "luminance": 0.21943
}

Semantic roles & 50–950 ramp

primary
#817DA2
secondary
#C3C5B6
accent
#B96EB1
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0F12
muted
#7F7E81

Preview Lab

Preview with #817DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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