#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 |
|---|---|
| RGB | rgb(135, 129, 205) |
| HSL | hsl(245, 43%, 65%) |
| HSV | hsv(245, 37%, 80%) |
| CMYK | cmyk(34.1%, 37.1%, 0%, 19.6%) |
| CIE-LAB | lab(57.33, 20.00, -38.54) |
| CIE-LCH | lch(57.33, 43.42, 297.42°) |
| OKLab | oklab(63.99% 0.0317 -0.1078) |
| OKLCH | oklch(63.99% 0.112 286.4) |
| XYZ | xyz(28.8584, 25.2584, 61.1006) |
| Luminance | 0.2526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.97
Lavender Blue
#8B88F8
ΔE00 6.87
Mediumpurple
#9370DB
ΔE00 6.97
Periwinkle (survey)
#8E82FE
ΔE00 7.51
Deep Lilac
#966EBD
ΔE00 8.69
Cornflower
#6A79F7
ΔE00 9.00
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 |
|---|---|---|---|---|
| ##8781CD | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.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