#9A7CFA#9A7CFA
#9A7CFA is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.181 H 291.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9A7CFA |
|---|---|
| RGB | rgb(154, 124, 250) |
| HSL | hsl(254, 93%, 73%) |
| HSV | hsv(254, 50%, 98%) |
| CMYK | cmyk(38.4%, 50.4%, 0%, 2%) |
| CIE-LAB | lab(60.06, 39.81, -59.22) |
| CIE-LCH | lch(60.06, 71.36, 303.91°) |
| OKLab | oklab(67.19% 0.067 -0.1678) |
| OKLCH | oklch(67.19% 0.181 291.8) |
| XYZ | xyz(37.7848, 28.1865, 93.8737) |
| Luminance | 0.2819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.25
Lavender Blue
#8B88F8
ΔE00 5.08
Mediumpurple
#9370DB
ΔE00 5.65
Light Urple
#B36FF6
ΔE00 6.05
Perrywinkle
#8F8CE7
ΔE00 6.37
Light Purple
#BF77F6
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A7CFA #DCFA7C
analogous
#7C9DFA #9A7CFA #D97CFA
triadic
#9A7CFA #FA9A7C #7CFA9A
tetradic
#9A7CFA #FA7C9D #DCFA7C #7CFAD9
square
#9A7CFA #FA7C9D #DCFA7C #7CFAD9
split-complementary
#9A7CFA #FAD97C #9DFA7C
monochromatic
#4109F2 #6D41F8 #9A7CFA #C7B7FC #E8E2FE
Accessibility & contrast
On white
3.16
#9A7CFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#9A7CFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A7CFA
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A7CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A7CFA | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#4D8EF7
Tritanopia (blue-blind)
#8196AF
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #9a7cfa; /* rgb */ color: rgb(154, 124, 250); /* oklch */ color: oklch(67.2% 0.181 291.8);
Tailwind
colors: {
custom: {
50: '#bca2fc',
500: '#9a7cfa',
950: '#000000',
},
}SCSS
$custom: #9a7cfa; $custom-light: #bca2fc; $custom-dark: #000000;
JSON
{
"hex": "#9a7cfa",
"rgb": {
"r": 154,
"g": 124,
"b": 250
},
"hsl": {
"h": 254.286,
"s": 92.647,
"l": 73.333
},
"oklch": {
"l": 0.67194,
"c": 0.18065,
"h": 291.8
},
"luminance": 0.28187
}Semantic roles & 50–950 ramp
primary
#9A7CFA
secondary
#EEF6D5
accent
#E600AF
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86