#8D7FF2#8D7FF2
#8D7FF2 is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.1% C 0.166 H 286.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7FF2 |
|---|---|
| RGB | rgb(141, 127, 242) |
| HSL | hsl(247, 82%, 72%) |
| HSV | hsv(247, 48%, 95%) |
| CMYK | cmyk(41.7%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(59.21, 32.84, -56.22) |
| CIE-LCH | lch(59.21, 65.11, 300.29°) |
| OKLab | oklab(66.15% 0.0472 -0.1593) |
| OKLCH | oklch(66.15% 0.166 286.5) |
| XYZ | xyz(34.5963, 27.2510, 87.4243) |
| Luminance | 0.2725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.85
Lavender Blue
#8B88F8
ΔE00 2.98
Perrywinkle
#8F8CE7
ΔE00 4.43
Mediumpurple
#9370DB
ΔE00 6.13
Cornflower
#6A79F7
ΔE00 6.26
Mediumslateblue
#7B68EE
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7FF2 #E4F27F
analogous
#7FABF2 #8D7FF2 #C67FF2
triadic
#8D7FF2 #F28D7F #7FF28D
tetradic
#8D7FF2 #F27FAB #E4F27F #7FF2C6
square
#8D7FF2 #F27FAB #E4F27F #7FF2C6
split-complementary
#8D7FF2 #F2C67F #ABF27F
monochromatic
#2F17E0 #5C47EC #8D7FF2 #BEB7F8 #E6E3FC
Accessibility & contrast
On white
3.26
#8D7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#8D7FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7FF2
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7FF2 | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#4F8BEF
Tritanopia (blue-blind)
#6F97AD
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8d7ff2; /* rgb */ color: rgb(141, 127, 242); /* oklch */ color: oklch(66.1% 0.166 286.5);
Tailwind
colors: {
custom: {
50: '#b3a4f7',
500: '#8d7ff2',
950: '#000000',
},
}SCSS
$custom: #8d7ff2; $custom-light: #b3a4f7; $custom-dark: #000000;
JSON
{
"hex": "#8d7ff2",
"rgb": {
"r": 141,
"g": 127,
"b": 242
},
"hsl": {
"h": 247.304,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.66145,
"c": 0.16615,
"h": 286.5
},
"luminance": 0.27252
}Semantic roles & 50–950 ramp
primary
#8D7FF2
secondary
#F1F4D7
accent
#DE08C4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85