#8A7DFF#8A7DFF
#8A7DFF is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.4% C 0.186 H 284.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7DFF |
|---|---|
| RGB | rgb(138, 125, 255) |
| HSL | hsl(246, 100%, 75%) |
| HSV | hsv(246, 51%, 100%) |
| CMYK | cmyk(45.9%, 51%, 0%, 0%) |
| CIE-LAB | lab(59.24, 36.98, -63.35) |
| CIE-LCH | lch(59.24, 73.36, 300.27°) |
| OKLab | oklab(66.35% 0.0471 -0.1803) |
| OKLCH | oklch(66.35% 0.186 284.6) |
| XYZ | xyz(35.8595, 27.2889, 97.9662) |
| Luminance | 0.2729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.49
Lavender Blue
#8B88F8
ΔE00 3.40
Cornflower
#6A79F7
ΔE00 5.53
Perrywinkle
#8F8CE7
ΔE00 5.84
Mediumslateblue
#7B68EE
ΔE00 6.81
Mediumpurple
#9370DB
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7DFF #F2FF7D
analogous
#7DB1FF #8A7DFF #CB7DFF
triadic
#8A7DFF #FF8A7D #7DFF8A
tetradic
#8A7DFF #FF7DB1 #F2FF7D #7DFFCB
square
#8A7DFF #FF7DB1 #F2FF7D #7DFFCB
split-complementary
#8A7DFF #FFCB7D #B1FF7D
monochromatic
#1C03FF #5340FF #8A7DFF #C1BAFF #E3E0FF
Accessibility & contrast
On white
3.25
#8A7DFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#8A7DFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7DFF
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7DFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7DFF | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#3A8BFC
Tritanopia (blue-blind)
#6399B2
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8a7dff; /* rgb */ color: rgb(138, 125, 255); /* oklch */ color: oklch(66.4% 0.186 284.6);
Tailwind
colors: {
custom: {
50: '#b3a3ff',
500: '#8a7dff',
950: '#000000',
},
}SCSS
$custom: #8a7dff; $custom-light: #b3a3ff; $custom-dark: #000000;
JSON
{
"hex": "#8a7dff",
"rgb": {
"r": 138,
"g": 125,
"b": 255
},
"hsl": {
"h": 246,
"s": 100,
"l": 74.51
},
"oklch": {
"l": 0.66352,
"c": 0.18637,
"h": 284.6
},
"luminance": 0.27291
}Semantic roles & 50–950 ramp
primary
#8A7DFF
secondary
#F4F7D4
accent
#E600CF
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86