#817CBE#817CBE

#817CBE is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.8% C 0.099 H 286.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#817CBE
RGBrgb(129, 124, 190)
HSLhsl(245, 34%, 62%)
HSVhsv(245, 35%, 75%)
CMYKcmyk(32.1%, 34.7%, 0%, 25.5%)
CIE-LABlab(54.87, 17.25, -33.91)
CIE-LCHlch(54.87, 38.04, 296.96°)
OKLaboklab(61.75% 0.0282 -0.0946)
OKLCHoklch(61.75% 0.099 286.6)
XYZxyz(25.5527, 22.7995, 51.7597)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817CBE #B9BE7C
analogous
#7C98BE #817CBE #A27CBE
triadic
#817CBE #BE817C #7CBE81
tetradic
#817CBE #BE7C98 #B9BE7C #7CBEA2
square
#817CBE #BE7C98 #B9BE7C #7CBEA2
split-complementary
#817CBE #BEA27C #98BE7C
monochromatic
#444080 #5A54A9 #817CBE #A8A5D2 #D0CEE7

Accessibility & contrast

On white

3.78
#817CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#817CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817CBE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817CBE#FFFFFF#000000##000000
##817CBE1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985C1
Deuteranopia (green-blind)
#6782BC
Tritanopia (blue-blind)
#728894
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #817cbe;
/* rgb */ color: rgb(129, 124, 190);
/* oklch */ color: oklch(61.8% 0.099 286.6);
Tailwind
colors: {
  custom: {
    50: '#a7a1d2',
    500: '#817cbe',
    950: '#000000',
  },
}
SCSS
$custom: #817cbe;
$custom-light: #a7a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#817cbe",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 190
  },
  "hsl": {
    "h": 244.545,
    "s": 33.673,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61753,
    "c": 0.09868,
    "h": 286.6
  },
  "luminance": 0.228
}

Semantic roles & 50–950 ramp

primary
#817CBE
secondary
#D5D7BF
accent
#AC39A4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F14
muted
#7F7E82

Preview Lab

Preview with #817CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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