#817ABC#817ABC

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

Color values

HEX#817ABC
RGBrgb(129, 122, 188)
HSLhsl(246, 33%, 61%)
HSVhsv(246, 35%, 74%)
CMYKcmyk(31.4%, 35.1%, 0%, 26.3%)
CIE-LABlab(54.26, 17.91, -33.72)
CIE-LCHlch(54.26, 38.18, 297.97°)
OKLaboklab(61.26% 0.0305 -0.094)
OKLCHoklch(61.26% 0.099 288)
XYZxyz(25.0875, 22.2164, 50.5336)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817ABC #B5BC7A
analogous
#7A94BC #817ABC #A27ABC
triadic
#817ABC #BC817A #7ABC81
tetradic
#817ABC #BC7A94 #B5BC7A #7ABCA2
square
#817ABC #BC7A94 #B5BC7A #7ABCA2
split-complementary
#817ABC #BCA27A #94BC7A
monochromatic
#453F7D #5C53A5 #817ABC #A8A3D1 #CECBE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817ABC#FFFFFF#000000##000000
##817ABC1.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)
#6783BF
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#738692
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #817abc;
/* rgb */ color: rgb(129, 122, 188);
/* oklch */ color: oklch(61.3% 0.099 288.0);
Tailwind
colors: {
  custom: {
    50: '#a7a0d0',
    500: '#817abc',
    950: '#000000',
  },
}
SCSS
$custom: #817abc;
$custom-light: #a7a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#817abc",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 246.364,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61256,
    "c": 0.09883,
    "h": 288
  },
  "luminance": 0.22217
}

Semantic roles & 50–950 ramp

primary
#817ABC
secondary
#D3D5BC
accent
#AC3AA0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #817ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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