#9D7FFA#9D7FFA
#9D7FFA is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.0% C 0.176 H 292.3°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7FFA |
|---|---|
| RGB | rgb(157, 127, 250) |
| HSL | hsl(255, 92%, 74%) |
| HSV | hsv(255, 49%, 98%) |
| CMYK | cmyk(37.2%, 49.2%, 0%, 2%) |
| CIE-LAB | lab(61.00, 38.84, -57.70) |
| CIE-LCH | lch(61.00, 69.55, 303.94°) |
| OKLab | oklab(67.96% 0.0669 -0.1632) |
| OKLCH | oklch(67.96% 0.176 292.3) |
| XYZ | xyz(38.7447, 29.2480, 94.0280) |
| Luminance | 0.2925 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.34
Lavender Blue
#8B88F8
ΔE00 4.92
Perrywinkle
#8F8CE7
ΔE00 5.97
Light Urple
#B36FF6
ΔE00 6.13
Mediumpurple
#9370DB
ΔE00 6.15
Light Purple
#BF77F6
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7FFA #DCFA7F
analogous
#7F9FFA #9D7FFA #DB7FFA
triadic
#9D7FFA #FA9D7F #7FFA9D
tetradic
#9D7FFA #FA7F9F #DCFA7F #7FFADB
square
#9D7FFA #FA7F9F #DCFA7F #7FFADB
split-complementary
#9D7FFA #FADB7F #9FFA7F
monochromatic
#430AF5 #7044F8 #9D7FFA #CABAFC #E8E2FE
Accessibility & contrast
On white
3.07
#9D7FFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#9D7FFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7FFA
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7FFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7FFA | 1.00 | 3.07 | 6.85 | 6.85 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F95FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#8598B1
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9d7ffa; /* rgb */ color: rgb(157, 127, 250); /* oklch */ color: oklch(68.0% 0.176 292.3);
Tailwind
colors: {
custom: {
50: '#bea4fc',
500: '#9d7ffa',
950: '#000000',
},
}SCSS
$custom: #9d7ffa; $custom-light: #bea4fc; $custom-dark: #000000;
JSON
{
"hex": "#9d7ffa",
"rgb": {
"r": 157,
"g": 127,
"b": 250
},
"hsl": {
"h": 254.634,
"s": 92.481,
"l": 73.922
},
"oklch": {
"l": 0.67962,
"c": 0.1764,
"h": 292.3
},
"luminance": 0.29249
}Semantic roles & 50–950 ramp
primary
#9D7FFA
secondary
#EEF6D5
accent
#E600AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86