#8781FA#8781FA
#8781FA is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.5% C 0.175 H 282.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8781FA |
|---|---|
| RGB | rgb(135, 129, 250) |
| HSL | hsl(243, 92%, 74%) |
| HSV | hsv(243, 48%, 98%) |
| CMYK | cmyk(46%, 48.4%, 0%, 2%) |
| CIE-LAB | lab(59.66, 32.56, -59.94) |
| CIE-LCH | lch(59.66, 68.21, 298.51°) |
| OKLab | oklab(66.52% 0.0387 -0.1703) |
| OKLCH | oklch(66.52% 0.175 282.8) |
| XYZ | xyz(35.0921, 27.7519, 93.9315) |
| Luminance | 0.2775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.34
Lavender Blue
#8B88F8
ΔE00 2.08
Perrywinkle
#8F8CE7
ΔE00 4.64
Cornflower
#6A79F7
ΔE00 5.09
Periwinkle Blue
#8F99FB
ΔE00 6.97
Mediumslateblue
#7B68EE
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8781FA #F4FA81
analogous
#81B8FA #8781FA #C481FA
triadic
#8781FA #FA8781 #81FA87
tetradic
#8781FA #FA81B8 #F4FA81 #81FAC4
square
#8781FA #FA81B8 #F4FA81 #81FAC4
split-complementary
#8781FA #FAC481 #B8FA81
monochromatic
#170BF5 #4F46F8 #8781FA #BFBCFC #E3E2FE
Accessibility & contrast
On white
3.21
#8781FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#8781FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8781FA
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8781FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8781FA | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#458CF7
Tritanopia (blue-blind)
#609BB2
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #8781fa; /* rgb */ color: rgb(135, 129, 250); /* oklch */ color: oklch(66.5% 0.175 282.8);
Tailwind
colors: {
custom: {
50: '#b0a5fc',
500: '#8781fa',
950: '#000000',
},
}SCSS
$custom: #8781fa; $custom-light: #b0a5fc; $custom-dark: #000000;
JSON
{
"hex": "#8781fa",
"rgb": {
"r": 135,
"g": 129,
"b": 250
},
"hsl": {
"h": 242.975,
"s": 92.366,
"l": 74.314
},
"oklch": {
"l": 0.66519,
"c": 0.17468,
"h": 282.8
},
"luminance": 0.27754
}Semantic roles & 50–950 ramp
primary
#8781FA
secondary
#F4F6D5
accent
#E600DA
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86