#817CBB#817CBB

#817CBB is a mid, moderate blue. Relative luminance 0.227; OKLCH L 61.6% C 0.094 H 286.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#817CBB
RGBrgb(129, 124, 187)
HSLhsl(245, 32%, 61%)
HSVhsv(245, 34%, 73%)
CMYKcmyk(31%, 33.7%, 0%, 26.7%)
CIE-LABlab(54.73, 16.46, -32.40)
CIE-LCHlch(54.73, 36.34, 296.93°)
OKLaboklab(61.61% 0.0274 -0.0902)
OKLCHoklch(61.61% 0.094 286.9)
XYZxyz(25.2282, 22.6697, 50.0506)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817CBB #B6BB7C
analogous
#7C96BB #817CBB #A07CBB
triadic
#817CBB #BB817C #7CBB81
tetradic
#817CBB #BB7C96 #B6BB7C #7CBBA0
square
#817CBB #BB7C96 #B6BB7C #7CBBA0
split-complementary
#817CBB #BBA07C #96BB7C
monochromatic
#45407C #5C55A4 #817CBB #A8A4D0 #CECDE5

Accessibility & contrast

On white

3.79
#817CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#817CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817CBB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817CBB#FFFFFF#000000##000000
##817CBB1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BE
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#738793
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #817cbb;
/* rgb */ color: rgb(129, 124, 187);
/* oklch */ color: oklch(61.6% 0.094 286.9);
Tailwind
colors: {
  custom: {
    50: '#a7a1cf',
    500: '#817cbb',
    950: '#000000',
  },
}
SCSS
$custom: #817cbb;
$custom-light: #a7a1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#817cbb",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 187
  },
  "hsl": {
    "h": 244.762,
    "s": 31.658,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.09431,
    "h": 286.9
  },
  "luminance": 0.2267
}

Semantic roles & 50–950 ramp

primary
#817CBB
secondary
#D3D5BE
accent
#AA3BA2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F14
muted
#7F7E82

Preview Lab

Preview with #817CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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