#9D7CF2#9D7CF2
#9D7CF2 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.171 H 294.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7CF2 |
|---|---|
| RGB | rgb(157, 124, 242) |
| HSL | hsl(257, 82%, 72%) |
| HSV | hsv(257, 49%, 95%) |
| CMYK | cmyk(35.1%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(59.88, 38.45, -55.06) |
| CIE-LCH | lch(59.88, 67.16, 304.92°) |
| OKLab | oklab(66.99% 0.0699 -0.1555) |
| OKLCH | oklch(66.99% 0.171 294.2) |
| XYZ | xyz(37.1352, 27.9935, 87.4340) |
| Luminance | 0.2799 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.31
Mediumpurple
#9370DB
ΔE00 4.83
Light Urple
#B36FF6
ΔE00 5.37
Lavender Blue
#8B88F8
ΔE00 5.80
Perrywinkle
#8F8CE7
ΔE00 6.41
Light Purple
#BF77F6
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7CF2 #D1F27C
analogous
#7C96F2 #9D7CF2 #D87CF2
triadic
#9D7CF2 #F29D7C #7CF29D
tetradic
#9D7CF2 #F27C96 #D1F27C #7CF2D8
square
#9D7CF2 #F27C96 #D1F27C #7CF2D8
split-complementary
#9D7CF2 #F2D87C #96F27C
monochromatic
#4E16DE #7344EC #9D7CF2 #C7B4F8 #EAE3FC
Accessibility & contrast
On white
3.18
#9D7CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#9D7CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7CF2
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7CF2 | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5191F6
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#8993AC
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9d7cf2; /* rgb */ color: rgb(157, 124, 242); /* oklch */ color: oklch(67.0% 0.171 294.2);
Tailwind
colors: {
custom: {
50: '#bda2f7',
500: '#9d7cf2',
950: '#000000',
},
}SCSS
$custom: #9d7cf2; $custom-light: #bda2f7; $custom-dark: #000000;
JSON
{
"hex": "#9d7cf2",
"rgb": {
"r": 157,
"g": 124,
"b": 242
},
"hsl": {
"h": 256.78,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.66985,
"c": 0.1705,
"h": 294.2
},
"luminance": 0.27994
}Semantic roles & 50–950 ramp
primary
#9D7CF2
secondary
#EBF4D6
accent
#DE07A2
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F17
muted
#817F85