#8781CD#8781CD

#8781CD is a light, moderate blue. Relative luminance 0.253; OKLCH L 64.0% C 0.112 H 286.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8781CD
RGBrgb(135, 129, 205)
HSLhsl(245, 43%, 65%)
HSVhsv(245, 37%, 80%)
CMYKcmyk(34.1%, 37.1%, 0%, 19.6%)
CIE-LABlab(57.33, 20.00, -38.54)
CIE-LCHlch(57.33, 43.42, 297.42°)
OKLaboklab(63.99% 0.0317 -0.1078)
OKLCHoklch(63.99% 0.112 286.4)
XYZxyz(28.8584, 25.2584, 61.1006)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8781CD #C7CD81
analogous
#81A1CD #8781CD #AD81CD
triadic
#8781CD #CD8781 #81CD87
tetradic
#8781CD #CD81A1 #C7CD81 #81CDAD
square
#8781CD #CD81A1 #C7CD81 #81CDAD
split-complementary
#8781CD #CDAD81 #A1CD81
monochromatic
#433C97 #5D55BC #8781CD #B1ADDE #DAD9F0

Accessibility & contrast

On white

3.47
#8781CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8781CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8781CD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8781CD#FFFFFF#000000##000000
##8781CD1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#6888CB
Tritanopia (blue-blind)
#758F9D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8781cd;
/* rgb */ color: rgb(135, 129, 205);
/* oklch */ color: oklch(64.0% 0.112 286.4);
Tailwind
colors: {
  custom: {
    50: '#aca5dc',
    500: '#8781cd',
    950: '#000000',
  },
}
SCSS
$custom: #8781cd;
$custom-light: #aca5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8781cd",
  "rgb": {
    "r": 135,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 244.737,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63985,
    "c": 0.11241,
    "h": 286.4
  },
  "luminance": 0.25259
}

Semantic roles & 50–950 ramp

primary
#8781CD
secondary
#E0E2C8
accent
#B62FAC
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8781CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8781CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva