#817CBF#817CBF

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

Color values

HEX#817CBF
RGBrgb(129, 124, 191)
HSLhsl(244, 34%, 62%)
HSVhsv(244, 35%, 75%)
CMYKcmyk(32.5%, 35.1%, 0%, 25.1%)
CIE-LABlab(54.91, 17.51, -34.41)
CIE-LCHlch(54.91, 38.61, 296.98°)
OKLaboklab(61.8% 0.0284 -0.096)
OKLCHoklch(61.8% 0.1 286.5)
XYZxyz(25.6624, 22.8434, 52.3372)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817CBF #BABF7C
analogous
#7C99BF #817CBF #A37CBF
triadic
#817CBF #BF817C #7CBF81
tetradic
#817CBF #BF7C99 #BABF7C #7CBFA3
square
#817CBF #BF7C99 #BABF7C #7CBFA3
split-complementary
#817CBF #BFA37C #99BF7C
monochromatic
#443F81 #5A53AB #817CBF #A9A5D3 #D0CEE7

Accessibility & contrast

On white

3.77
#817CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#817CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817CBF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817CBF#FFFFFF#000000##000000
##817CBF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#6782BD
Tritanopia (blue-blind)
#728895
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #817cbf;
/* rgb */ color: rgb(129, 124, 191);
/* oklch */ color: oklch(61.8% 0.100 286.5);
Tailwind
colors: {
  custom: {
    50: '#a7a1d2',
    500: '#817cbf',
    950: '#000000',
  },
}
SCSS
$custom: #817cbf;
$custom-light: #a7a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#817cbf",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 244.478,
    "s": 34.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61803,
    "c": 0.10013,
    "h": 286.5
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#817CBF
secondary
#D6D8BF
accent
#AD38A4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F14
muted
#7F7E82

Preview Lab

Preview with #817CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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