#8A7CFF#8A7CFF
#8A7CFF is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.2% C 0.188 H 284.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7CFF |
|---|---|
| RGB | rgb(138, 124, 255) |
| HSL | hsl(246, 100%, 74%) |
| HSV | hsv(246, 51%, 100%) |
| CMYK | cmyk(45.9%, 51.4%, 0%, 0%) |
| CIE-LAB | lab(59.01, 37.56, -63.73) |
| CIE-LCH | lch(59.01, 73.97, 300.51°) |
| OKLab | oklab(66.18% 0.0483 -0.1814) |
| OKLCH | oklch(66.18% 0.188 284.9) |
| XYZ | xyz(35.7336, 27.0370, 97.9242) |
| Luminance | 0.2704 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.74
Lavender Blue
#8B88F8
ΔE00 3.67
Cornflower
#6A79F7
ΔE00 5.54
Perrywinkle
#8F8CE7
ΔE00 6.06
Mediumslateblue
#7B68EE
ΔE00 6.57
Mediumpurple
#9370DB
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7CFF #F1FF7C
analogous
#7CB0FF #8A7CFF #CC7CFF
triadic
#8A7CFF #FF8A7C #7CFF8A
tetradic
#8A7CFF #FF7CB0 #F1FF7C #7CFFCC
square
#8A7CFF #FF7CB0 #F1FF7C #7CFFCC
split-complementary
#8A7CFF #FFCC7C #B0FF7C
monochromatic
#1D02FF #533FFF #8A7CFF #C1B9FF #E4E0FF
Accessibility & contrast
On white
3.28
#8A7CFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#8A7CFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7CFF
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7CFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7CFF | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#378AFC
Tritanopia (blue-blind)
#6398B2
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8a7cff; /* rgb */ color: rgb(138, 124, 255); /* oklch */ color: oklch(66.2% 0.188 284.9);
Tailwind
colors: {
custom: {
50: '#b3a2ff',
500: '#8a7cff',
950: '#000000',
},
}SCSS
$custom: #8a7cff; $custom-light: #b3a2ff; $custom-dark: #000000;
JSON
{
"hex": "#8a7cff",
"rgb": {
"r": 138,
"g": 124,
"b": 255
},
"hsl": {
"h": 246.412,
"s": 100,
"l": 74.314
},
"oklch": {
"l": 0.66179,
"c": 0.18773,
"h": 284.9
},
"luminance": 0.27039
}Semantic roles & 50–950 ramp
primary
#8A7CFF
secondary
#F4F7D4
accent
#E600CD
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F18
muted
#817F86