#8A7CF5#8A7CF5
#8A7CF5 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.6% C 0.175 H 285.8°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7CF5 |
|---|---|
| RGB | rgb(138, 124, 245) |
| HSL | hsl(247, 86%, 72%) |
| HSV | hsv(247, 49%, 96%) |
| CMYK | cmyk(43.7%, 49.4%, 0%, 3.9%) |
| CIE-LAB | lab(58.42, 34.72, -59.15) |
| CIE-LCH | lch(58.42, 68.58, 300.41°) |
| OKLab | oklab(65.55% 0.0475 -0.168) |
| OKLCH | oklch(65.55% 0.175 285.8) |
| XYZ | xyz(34.1656, 26.4098, 89.6659) |
| Luminance | 0.2641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.08
Lavender Blue
#8B88F8
ΔE00 3.59
Perrywinkle
#8F8CE7
ΔE00 5.39
Cornflower
#6A79F7
ΔE00 5.59
Mediumpurple
#9370DB
ΔE00 6.05
Mediumslateblue
#7B68EE
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7CF5 #E7F57C
analogous
#7CABF5 #8A7CF5 #C67CF5
triadic
#8A7CF5 #F58A7C #7CF58A
tetradic
#8A7CF5 #F57CAB #E7F57C #7CF5C6
square
#8A7CF5 #F57CAB #E7F57C #7CF5C6
split-complementary
#8A7CF5 #F5C67C #ABF57C
monochromatic
#2A11E5 #5743F1 #8A7CF5 #BDB5F9 #E6E3FD
Accessibility & contrast
On white
3.34
#8A7CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#8A7CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7CF5
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7CF5 | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#4589F2
Tritanopia (blue-blind)
#6995AD
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8a7cf5; /* rgb */ color: rgb(138, 124, 245); /* oklch */ color: oklch(65.6% 0.175 285.8);
Tailwind
colors: {
custom: {
50: '#b2a2f9',
500: '#8a7cf5',
950: '#000000',
},
}SCSS
$custom: #8a7cf5; $custom-light: #b2a2f9; $custom-dark: #000000;
JSON
{
"hex": "#8a7cf5",
"rgb": {
"r": 138,
"g": 124,
"b": 245
},
"hsl": {
"h": 246.942,
"s": 85.816,
"l": 72.353
},
"oklch": {
"l": 0.65553,
"c": 0.17457,
"h": 285.8
},
"luminance": 0.26411
}Semantic roles & 50–950 ramp
primary
#8A7CF5
secondary
#F1F5D6
accent
#E203C9
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85