#817CAF#817CAF

#817CAF is a mid, moderate blue. Relative luminance 0.222; OKLCH L 61.0% C 0.077 H 288.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#817CAF
RGBrgb(129, 124, 175)
HSLhsl(246, 24%, 59%)
HSVhsv(246, 29%, 69%)
CMYKcmyk(26.3%, 29.1%, 0%, 31.4%)
CIE-LABlab(54.21, 13.37, -26.32)
CIE-LCHlch(54.21, 29.52, 296.93°)
OKLaboklab(61.04% 0.0242 -0.0728)
OKLCHoklch(61.04% 0.077 288.4)
XYZxyz(23.9969, 22.1771, 43.5655)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817CAF #AAAF7C
analogous
#7C90AF #817CAF #9A7CAF
triadic
#817CAF #AF817C #7CAF81
tetradic
#817CAF #AF7C90 #AAAF7C #7CAF9A
square
#817CAF #AF7C90 #AAAF7C #7CAF9A
split-complementary
#817CAF #AF9A7C #90AF7C
monochromatic
#47436E #605A94 #817CAF #A6A2C6 #CAC8DD

Accessibility & contrast

On white

3.86
#817CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#817CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817CAF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817CAF#FFFFFF#000000##000000
##817CAF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F83B1
Deuteranopia (green-blind)
#6E80AE
Tritanopia (blue-blind)
#77858E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #817caf;
/* rgb */ color: rgb(129, 124, 175);
/* oklch */ color: oklch(61.0% 0.077 288.4);
Tailwind
colors: {
  custom: {
    50: '#a6a1c7',
    500: '#817caf',
    950: '#000000',
  },
}
SCSS
$custom: #817caf;
$custom-light: #a6a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#817caf",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 175
  },
  "hsl": {
    "h": 245.882,
    "s": 24.171,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61039,
    "c": 0.07668,
    "h": 288.4
  },
  "luminance": 0.22178
}

Semantic roles & 50–950 ramp

primary
#817CAF
secondary
#CCCDB9
accent
#C167B8
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0F13
muted
#7F7E82

Preview Lab

Preview with #817CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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