#9D7FF2#9D7FF2
#9D7FF2 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.5% C 0.166 H 293.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7FF2 |
|---|---|
| RGB | rgb(157, 127, 242) |
| HSL | hsl(256, 82%, 72%) |
| HSV | hsv(256, 48%, 95%) |
| CMYK | cmyk(35.1%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(60.57, 36.75, -53.98) |
| CIE-LCH | lch(60.57, 65.30, 304.25°) |
| OKLab | oklab(67.5% 0.0661 -0.1523) |
| OKLCH | oklch(67.5% 0.166 293.5) |
| XYZ | xyz(37.5169, 28.7569, 87.5612) |
| Luminance | 0.2876 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.96
Lavender Blue
#8B88F8
ΔE00 5.23
Mediumpurple
#9370DB
ΔE00 5.41
Perrywinkle
#8F8CE7
ΔE00 5.69
Light Urple
#B36FF6
ΔE00 5.99
Light Purple
#BF77F6
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7FF2 #D4F27F
analogous
#7F9BF2 #9D7FF2 #D67FF2
triadic
#9D7FF2 #F29D7F #7FF29D
tetradic
#9D7FF2 #F27F9B #D4F27F #7FF2D6
square
#9D7FF2 #F27F9B #D4F27F #7FF2D6
split-complementary
#9D7FF2 #F2D67F #9BF27F
monochromatic
#4B17E0 #7247EC #9D7FF2 #C8B7F8 #EAE3FC
Accessibility & contrast
On white
3.11
#9D7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#9D7FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7FF2
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7FF2 | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5693F6
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#8995AD
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9d7ff2; /* rgb */ color: rgb(157, 127, 242); /* oklch */ color: oklch(67.5% 0.166 293.5);
Tailwind
colors: {
custom: {
50: '#bda4f7',
500: '#9d7ff2',
950: '#000000',
},
}SCSS
$custom: #9d7ff2; $custom-light: #bda4f7; $custom-dark: #000000;
JSON
{
"hex": "#9d7ff2",
"rgb": {
"r": 157,
"g": 127,
"b": 242
},
"hsl": {
"h": 255.652,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.67497,
"c": 0.16606,
"h": 293.5
},
"luminance": 0.28758
}Semantic roles & 50–950 ramp
primary
#9D7FF2
secondary
#ECF4D7
accent
#DE08A6
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85