#7151C4
Closest named color: Slate Blue (#6A5ACD). oklch(52.8% 0.172 292.3), rgb(113, 81, 196).
Aa
White text reads best on this color (5.71:1).
About this color
#7151C4 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.172 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Slate Blue (#6A5ACD), ΔE 0.025 away. White text reads best on it, at 5.71:1.
| Hue family | Purples |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.172) |
| Temperature | in between |
| Nearest name | Slate Blue (#6A5ACD) |
| Black text | 3.67:1 |
| White text | 5.71:1 |
Values
| HEX | #7151C4 |
| RGB | rgb(113, 81, 196) |
| HSL | hsl(257, 49%, 54%) |
| OKLCH | oklch(52.8% 0.172 292.3) |
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 #7151C4 | 5.71:1 | AA | Lc -83.5 | Fine for body text |
| Black text on #7151C4 | 3.67:1 | AA large text | Lc 25.9 | Dividers and decoration only |
| #7151C4 text on white | 5.71:1 | AA | Lc 78.2 | Fine for body text |
| #7151C4 text on black | 3.67:1 | AA large text | Lc -23.6 | 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
#F5F4FC
oklch(97% 0.011 292)
-
Step 100
100
#EAE7F8
oklch(93.5% 0.023 294.1)
-
Step 200
200
#D9D5F4
oklch(88.6% 0.042 291.4)
-
Step 300
300
#C1B8EF
oklch(80.9% 0.077 292.1)
-
Step 400
400
#A391E7
oklch(70.7% 0.124 292.5)
-
Step 500
500
#8E74E0
oklch(63.2% 0.158 292.4)
-
Step 600
600 (this color)
#7151C4
oklch(52.8% 0.172 292.3)
-
Step 700
700
#6649B2
oklch(49.2% 0.16 292.2)
-
Step 800
800
#533C90
oklch(42.7% 0.133 292.5)
-
Step 900
900
#443473
oklch(37.6% 0.104 292.4)
-
Step 950
950
#281F43
oklch(27% 0.065 293)
#7151C4 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) | #0068C8 | 0.111 |
| Deuteranopia (no green cones) | #1164C2 | 0.106 |
| Tritanopia (no blue cones) | #5A6A83 | 0.137 |
| Achromatopsia (no color) | #666666 | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7151C4
#7151C4
oklch(52.8% 0.172 292.3)
- #6D7100
#6D7100
oklch(52.7% 0.117 112.2)
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 #7151C4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Slate Blue #6A5ACD ΔE 0.025
- Light Indigo #6D5ACF ΔE 0.026
- Iris #6258C4 ΔE 0.027
- Dark Periwinkle #665FD1 ΔE 0.039
- Bluey Purple #6241C7 ΔE 0.046
- Purpley #8756E4 ΔE 0.062
- Deep Lavender #8D5EB7 ΔE 0.065
- Warm Blue #4B57DB ΔE 0.067
Use #7151C4 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.