#8D7FFA#8D7FFA
#8D7FFA is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.6% C 0.177 H 285.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7FFA |
|---|---|
| RGB | rgb(141, 127, 250) |
| HSL | hsl(247, 92%, 74%) |
| HSV | hsv(247, 49%, 98%) |
| CMYK | cmyk(43.6%, 49.2%, 0%, 2%) |
| CIE-LAB | lab(59.66, 35.07, -59.92) |
| CIE-LCH | lch(59.66, 69.43, 300.34°) |
| OKLab | oklab(66.63% 0.048 -0.1702) |
| OKLCH | oklch(66.63% 0.177 285.7) |
| XYZ | xyz(35.8242, 27.7421, 93.8911) |
| Luminance | 0.2774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.00
Lavender Blue
#8B88F8
ΔE00 2.85
Perrywinkle
#8F8CE7
ΔE00 4.99
Cornflower
#6A79F7
ΔE00 6.07
Mediumpurple
#9370DB
ΔE00 6.84
Mediumslateblue
#7B68EE
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7FFA #ECFA7F
analogous
#7FAFFA #8D7FFA #CB7FFA
triadic
#8D7FFA #FA8D7F #7FFA8D
tetradic
#8D7FFA #FA7FAF #ECFA7F #7FFACB
square
#8D7FFA #FA7FAF #ECFA7F #7FFACB
split-complementary
#8D7FFA #FACB7F #AFFA7F
monochromatic
#240AF5 #5944F8 #8D7FFA #C1BAFC #E5E2FE
Accessibility & contrast
On white
3.21
#8D7FFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#8D7FFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7FFA
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7FFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7FFA | 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)
#4A93FE
Deuteranopia (green-blind)
#478CF7
Tritanopia (blue-blind)
#6B99B1
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #8d7ffa; /* rgb */ color: rgb(141, 127, 250); /* oklch */ color: oklch(66.6% 0.177 285.7);
Tailwind
colors: {
custom: {
50: '#b4a4fd',
500: '#8d7ffa',
950: '#000000',
},
}SCSS
$custom: #8d7ffa; $custom-light: #b4a4fd; $custom-dark: #000000;
JSON
{
"hex": "#8d7ffa",
"rgb": {
"r": 141,
"g": 127,
"b": 250
},
"hsl": {
"h": 246.829,
"s": 92.481,
"l": 73.922
},
"oklch": {
"l": 0.66628,
"c": 0.17679,
"h": 285.7
},
"luminance": 0.27744
}Semantic roles & 50–950 ramp
primary
#8D7FFA
secondary
#F2F6D5
accent
#E600CB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F18
muted
#817F86