#817BBD#817BBD

#817BBD is a mid, moderate blue. Relative luminance 0.225; OKLCH L 61.5% C 0.099 H 287.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#817BBD
RGBrgb(129, 123, 189)
HSLhsl(245, 33%, 61%)
HSVhsv(245, 35%, 74%)
CMYKcmyk(31.7%, 34.9%, 0%, 25.9%)
CIE-LABlab(54.56, 17.58, -33.81)
CIE-LCHlch(54.56, 38.11, 297.47°)
OKLaboklab(61.51% 0.0293 -0.0943)
OKLCHoklch(61.51% 0.099 287.3)
XYZxyz(25.3191, 22.5065, 51.1445)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817BBD #B7BD7B
analogous
#7B96BD #817BBD #A27BBD
triadic
#817BBD #BD817B #7BBD81
tetradic
#817BBD #BD7B96 #B7BD7B #7BBDA2
square
#817BBD #BD7B96 #B7BD7B #7BBDA2
split-complementary
#817BBD #BDA27B #96BD7B
monochromatic
#453F7E #5B54A7 #817BBD #A8A4D1 #CFCDE6

Accessibility & contrast

On white

3.82
#817BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#817BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817BBD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817BBD#FFFFFF#000000##000000
##817BBD1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884C0
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#728793
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #817bbd;
/* rgb */ color: rgb(129, 123, 189);
/* oklch */ color: oklch(61.5% 0.099 287.3);
Tailwind
colors: {
  custom: {
    50: '#a7a1d1',
    500: '#817bbd',
    950: '#000000',
  },
}
SCSS
$custom: #817bbd;
$custom-light: #a7a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#817bbd",
  "rgb": {
    "r": 129,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 245.455,
    "s": 33.333,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61505,
    "c": 0.09875,
    "h": 287.3
  },
  "luminance": 0.22507
}

Semantic roles & 50–950 ramp

primary
#817BBD
secondary
#D4D6BE
accent
#AC39A2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #817BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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