#9A7CF5#9A7CF5
#9A7CF5 is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.9% C 0.174 H 292.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9A7CF5 |
|---|---|
| RGB | rgb(154, 124, 245) |
| HSL | hsl(255, 86%, 72%) |
| HSV | hsv(255, 49%, 96%) |
| CMYK | cmyk(37.1%, 49.4%, 0%, 3.9%) |
| CIE-LAB | lab(59.78, 38.49, -56.91) |
| CIE-LCH | lch(59.78, 68.70, 304.07°) |
| OKLab | oklab(66.9% 0.0666 -0.161) |
| OKLCH | oklch(66.9% 0.174 292.5) |
| XYZ | xyz(37.0111, 27.8770, 89.7993) |
| Luminance | 0.2788 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.57
Mediumpurple
#9370DB
ΔE00 5.10
Lavender Blue
#8B88F8
ΔE00 5.21
Light Urple
#B36FF6
ΔE00 5.92
Perrywinkle
#8F8CE7
ΔE00 6.17
Light Purple
#BF77F6
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A7CF5 #D7F57C
analogous
#7C9BF5 #9A7CF5 #D77CF5
triadic
#9A7CF5 #F59A7C #7CF59A
tetradic
#9A7CF5 #F57C9B #D7F57C #7CF5D7
square
#9A7CF5 #F57C9B #D7F57C #7CF5D7
split-complementary
#9A7CF5 #F5D77C #9BF57C
monochromatic
#4611E5 #6E43F1 #9A7CF5 #C6B5F9 #E9E3FD
Accessibility & contrast
On white
3.19
#9A7CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#9A7CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A7CF5
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A7CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A7CF5 | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D92F9
Deuteranopia (green-blind)
#528EF2
Tritanopia (blue-blind)
#8394AD
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9a7cf5; /* rgb */ color: rgb(154, 124, 245); /* oklch */ color: oklch(66.9% 0.174 292.5);
Tailwind
colors: {
custom: {
50: '#bca2f9',
500: '#9a7cf5',
950: '#000000',
},
}SCSS
$custom: #9a7cf5; $custom-light: #bca2f9; $custom-dark: #000000;
JSON
{
"hex": "#9a7cf5",
"rgb": {
"r": 154,
"g": 124,
"b": 245
},
"hsl": {
"h": 254.876,
"s": 85.816,
"l": 72.353
},
"oklch": {
"l": 0.66895,
"c": 0.17421,
"h": 292.5
},
"luminance": 0.27878
}Semantic roles & 50–950 ramp
primary
#9A7CF5
secondary
#EDF5D6
accent
#E203AB
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85