#7D51D2
Closest named color: Light Indigo (#6D5ACF). oklch(55% 0.19 295.1), rgb(125, 81, 210).
Aa
White text reads best on this color (5.27:1).
About this color
#7D51D2 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.190 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.032 away. White text reads best on it, at 5.27:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.190) |
| Temperature | in between |
| Nearest name | Light Indigo (#6D5ACF) |
| Black text | 3.97:1 |
| White text | 5.27:1 |
Values
| HEX | #7D51D2 |
| RGB | rgb(125, 81, 210) |
| HSL | hsl(260, 59%, 57%) |
| OKLCH | oklch(55% 0.19 295.1) |
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 #7D51D2 | 5.27:1 | AA | Lc -81.1 | Fine for body text |
| Black text on #7D51D2 | 3.97:1 | AA large text | Lc 28.3 | Dividers and decoration only |
| #7D51D2 text on white | 5.27:1 | AA | Lc 75.8 | Fine for body text |
| #7D51D2 text on black | 3.97:1 | AA large text | Lc -26.0 | 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
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#EBE7F9
oklch(93.6% 0.024 296.1)
-
Step 200
200
#DBD4F6
oklch(88.6% 0.047 294.9)
-
Step 300
300
#C4B6F3
oklch(80.9% 0.086 294.9)
-
Step 400
400
#A78EEC
oklch(70.7% 0.136 294.9)
-
Step 500
500
#936EE6
oklch(63% 0.175 295.1)
-
Step 600
600 (this color)
#7D51D2
oklch(55% 0.19 295.1)
-
Step 700
700
#6B42B8
oklch(49.1% 0.177 295)
-
Step 800
800
#573895
oklch(42.8% 0.146 294.8)
-
Step 900
900
#473176
oklch(37.6% 0.114 295.1)
-
Step 950
950
#2A1E45
oklch(27.1% 0.071 295.5)
#7D51D2 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) | #006DD6 | 0.127 |
| Deuteranopia (no green cones) | #006ACF | 0.127 |
| Tritanopia (no blue cones) | #676E8A | 0.149 |
| Achromatopsia (no color) | #6C6C6C | 0.191 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7D51D2
#7D51D2
oklch(55% 0.19 295.1)
- #707900
#707900
oklch(55% 0.124 114.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 #7D51D2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Indigo #6D5ACF ΔE 0.032
- Purpley #8756E4 ΔE 0.034
- Slate Blue #6A5ACD ΔE 0.036
- Dark Periwinkle #665FD1 ΔE 0.045
- Iris #6258C4 ΔE 0.050
- Bluey Purple #6241C7 ΔE 0.063
- Deep Lavender #8D5EB7 ΔE 0.063
- Medium Slate Blue #7B68EE ΔE 0.063
Use #7D51D2 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.