#9A7DFD#9A7DFD
#9A7DFD is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.5% C 0.183 H 291.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9A7DFD |
|---|---|
| RGB | rgb(154, 125, 253) |
| HSL | hsl(254, 97%, 74%) |
| HSV | hsv(254, 51%, 99%) |
| CMYK | cmyk(39.1%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(60.45, 40.05, -60.24) |
| CIE-LCH | lch(60.45, 72.34, 303.62°) |
| OKLab | oklab(67.54% 0.066 -0.1708) |
| OKLCH | oklch(67.54% 0.183 291.1) |
| XYZ | xyz(38.3849, 28.6280, 96.4128) |
| Luminance | 0.2863 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.95
Lavender Blue
#8B88F8
ΔE00 4.83
Mediumpurple
#9370DB
ΔE00 6.14
Perrywinkle
#8F8CE7
ΔE00 6.29
Light Urple
#B36FF6
ΔE00 6.33
Light Purple
#BF77F6
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A7DFD #E0FD7D
analogous
#7DA0FD #9A7DFD #DA7DFD
triadic
#9A7DFD #FD9A7D #7DFD9A
tetradic
#9A7DFD #FD7DA0 #E0FD7D #7DFDDA
square
#9A7DFD #FD7DA0 #E0FD7D #7DFDDA
split-complementary
#9A7DFD #FDDA7D #A0FD7D
monochromatic
#3C04FB #6B41FC #9A7DFD #C9B9FE #E8E1FF
Accessibility & contrast
On white
3.12
#9A7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#9A7DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A7DFD
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A7DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A7DFD | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#4B8FFA
Tritanopia (blue-blind)
#8097B1
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9a7dfd; /* rgb */ color: rgb(154, 125, 253); /* oklch */ color: oklch(67.5% 0.183 291.1);
Tailwind
colors: {
custom: {
50: '#bca3ff',
500: '#9a7dfd',
950: '#000000',
},
}SCSS
$custom: #9a7dfd; $custom-light: #bca3ff; $custom-dark: #000000;
JSON
{
"hex": "#9a7dfd",
"rgb": {
"r": 154,
"g": 125,
"b": 253
},
"hsl": {
"h": 253.594,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.67543,
"c": 0.18305,
"h": 291.1
},
"luminance": 0.28629
}Semantic roles & 50–950 ramp
primary
#9A7DFD
secondary
#EFF7D4
accent
#E600B2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86