#9940C7
Closest named color: Dark Orchid (#9932CC). oklch(55.2% 0.206 311.8), rgb(153, 64, 199).
Aa
White text reads best on this color (5.36:1).
About this color
#9940C7 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.206 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.023 away. White text reads best on it, at 5.36:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.206) |
| Temperature | in between |
| Nearest name | Dark Orchid (#9932CC) |
| Black text | 3.91:1 |
| White text | 5.36:1 |
Values
| HEX | #9940C7 |
| RGB | rgb(153, 64, 199) |
| HSL | hsl(280, 55%, 52%) |
| OKLCH | oklch(55.2% 0.206 311.8) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #9940C7 | 5.36:1 | AA | Lc -81.3 | Fine for body text |
| Black text on #9940C7 | 3.91:1 | AA large text | Lc 28.1 | Dividers and decoration only |
| #9940C7 text on white | 5.36:1 | AA | Lc 76.0 | Fine for body text |
| #9940C7 text on black | 3.91:1 | AA large text | Lc -25.8 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F8F3FC
oklch(97.1% 0.013 310.5)
-
Step 100
100
#F0E5F7
oklch(93.6% 0.027 312.6)
-
Step 200
200
#E5D0F3
oklch(88.6% 0.052 311.9)
-
Step 300
300
#D5B0ED
oklch(81% 0.093 311.8)
-
Step 400
400
#BF83E3
oklch(70.6% 0.149 311.8)
-
Step 500
500
#AF60DB
oklch(63.1% 0.19 311.8)
-
Step 600
600 (this color)
#9940C7
oklch(55.2% 0.206 311.8)
-
Step 700
700
#8432AD
oklch(49.1% 0.191 311.9)
-
Step 800
800
#6B2B8C
oklch(42.7% 0.159 311.8)
-
Step 900
900
#572970
oklch(37.8% 0.123 311.8)
-
Step 950
950
#331942
oklch(27.1% 0.078 311.5)
#9940C7 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #0066CB | 0.184 |
| Deuteranopia (no green cones) | #316CC4 | 0.168 |
| Tritanopia (no blue cones) | #935C7F | 0.139 |
| Achromatopsia (no color) | #6B6B6B | 0.208 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9940C7
#9940C7
oklch(55.2% 0.206 311.8)
- #4F8300
#4F8300
oklch(55.2% 0.153 131.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #9940C7, closest first.
No curated palette has a color within ΔE 0.04 of #9940C7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Orchid #9932CC ΔE 0.023
- Purply #983FB2 ΔE 0.033
- Blue Violet #8A2BE2 ΔE 0.063
- Dark Violet #9400D3 ΔE 0.066
- Purpley #8756E4 ΔE 0.066
- Amethyst #9B5FC0 ΔE 0.066
- Vibrant Purple #AD03DE ΔE 0.070
- Deep Lavender #8D5EB7 ΔE 0.070
Use #9940C7 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.