#9D7EF3#9D7EF3
#9D7EF3 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.4% C 0.169 H 293.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7EF3 |
|---|---|
| RGB | rgb(157, 126, 243) |
| HSL | hsl(256, 83%, 72%) |
| HSV | hsv(256, 48%, 95%) |
| CMYK | cmyk(35.4%, 48.1%, 0%, 4.7%) |
| CIE-LAB | lab(60.39, 37.57, -54.81) |
| CIE-LCH | lch(60.39, 66.45, 304.43°) |
| OKLab | oklab(67.38% 0.0675 -0.1547) |
| OKLCH | oklch(67.38% 0.169 293.6) |
| XYZ | xyz(37.5389, 28.5601, 88.3115) |
| Luminance | 0.2856 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.97
Mediumpurple
#9370DB
ΔE00 5.29
Lavender Blue
#8B88F8
ΔE00 5.36
Light Urple
#B36FF6
ΔE00 5.78
Perrywinkle
#8F8CE7
ΔE00 5.95
Light Purple
#BF77F6
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7EF3 #D4F37E
analogous
#7E9AF3 #9D7EF3 #D77EF3
triadic
#9D7EF3 #F39D7E #7EF39D
tetradic
#9D7EF3 #F37E9A #D4F37E #7EF3D7
square
#9D7EF3 #F37E9A #D4F37E #7EF3D7
split-complementary
#9D7EF3 #F3D77E #9AF37E
monochromatic
#4B15E2 #7246EE #9D7EF3 #C8B6F8 #EAE3FC
Accessibility & contrast
On white
3.13
#9D7EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#9D7EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7EF3
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7EF3 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5393F7
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#8895AD
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9d7ef3; /* rgb */ color: rgb(157, 126, 243); /* oklch */ color: oklch(67.4% 0.169 293.6);
Tailwind
colors: {
custom: {
50: '#bda4f7',
500: '#9d7ef3',
950: '#000000',
},
}SCSS
$custom: #9d7ef3; $custom-light: #bda4f7; $custom-dark: #000000;
JSON
{
"hex": "#9d7ef3",
"rgb": {
"r": 157,
"g": 126,
"b": 243
},
"hsl": {
"h": 255.897,
"s": 82.979,
"l": 72.353
},
"oklch": {
"l": 0.67383,
"c": 0.16883,
"h": 293.6
},
"luminance": 0.28561
}Semantic roles & 50–950 ramp
primary
#9D7EF3
secondary
#ECF4D7
accent
#DF06A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85