#9A7EFA#9A7EFA
#9A7EFA is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.5% C 0.178 H 291.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9A7EFA |
|---|---|
| RGB | rgb(154, 126, 250) |
| HSL | hsl(254, 93%, 74%) |
| HSV | hsv(254, 50%, 98%) |
| CMYK | cmyk(38.4%, 49.6%, 0%, 2%) |
| CIE-LAB | lab(60.51, 38.68, -58.50) |
| CIE-LCH | lch(60.51, 70.13, 303.48°) |
| OKLab | oklab(67.53% 0.0645 -0.1656) |
| OKLCH | oklch(67.53% 0.178 291.3) |
| XYZ | xyz(38.0379, 28.6928, 93.9581) |
| Luminance | 0.2869 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.92
Lavender Blue
#8B88F8
ΔE00 4.65
Perrywinkle
#8F8CE7
ΔE00 5.90
Mediumpurple
#9370DB
ΔE00 5.98
Light Urple
#B36FF6
ΔE00 6.41
Light Purple
#BF77F6
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A7EFA #DEFA7E
analogous
#7EA0FA #9A7EFA #D87EFA
triadic
#9A7EFA #FA9A7E #7EFA9A
tetradic
#9A7EFA #FA7EA0 #DEFA7E #7EFAD8
square
#9A7EFA #FA7EA0 #DEFA7E #7EFAD8
split-complementary
#9A7EFA #FAD87E #A0FA7E
monochromatic
#3E09F4 #6C43F8 #9A7EFA #C8B9FC #E8E2FE
Accessibility & contrast
On white
3.12
#9A7EFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#9A7EFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A7EFA
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A7EFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A7EFA | 1.00 | 3.12 | 6.74 | 6.74 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#508FF7
Tritanopia (blue-blind)
#8197B0
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9a7efa; /* rgb */ color: rgb(154, 126, 250); /* oklch */ color: oklch(67.5% 0.178 291.3);
Tailwind
colors: {
custom: {
50: '#bca4fc',
500: '#9a7efa',
950: '#000000',
},
}SCSS
$custom: #9a7efa; $custom-light: #bca4fc; $custom-dark: #000000;
JSON
{
"hex": "#9a7efa",
"rgb": {
"r": 154,
"g": 126,
"b": 250
},
"hsl": {
"h": 253.548,
"s": 92.537,
"l": 73.725
},
"oklch": {
"l": 0.67532,
"c": 0.17777,
"h": 291.3
},
"luminance": 0.28694
}Semantic roles & 50–950 ramp
primary
#9A7EFA
secondary
#EFF6D5
accent
#E600B2
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86