#7158C1
Closest named color: Slate Blue (#6A5ACD). oklch(53.8% 0.158 291.1), rgb(113, 88, 193).
Aa
White text reads best on this color (5.42:1).
About this color
#7158C1 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.158 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Slate Blue (#6A5ACD), ΔE 0.022 away. White text reads best on it, at 5.42:1.
| Hue family | Purples |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.158) |
| Temperature | in between |
| Nearest name | Slate Blue (#6A5ACD) |
| Black text | 3.86:1 |
| White text | 5.42:1 |
Values
| HEX | #7158C1 |
| RGB | rgb(113, 88, 193) |
| HSL | hsl(254, 46%, 55%) |
| OKLCH | oklch(53.8% 0.158 291.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 #7158C1 | 5.42:1 | AA | Lc -82.1 | Fine for body text |
| Black text on #7158C1 | 3.86:1 | AA large text | Lc 27.3 | Dividers and decoration only |
| #7158C1 text on white | 5.42:1 | AA | Lc 76.8 | Fine for body text |
| #7158C1 text on black | 3.86:1 | AA large text | Lc -24.9 | 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
#E9E8F7
oklch(93.6% 0.02 289.1)
-
Step 200
200
#D9D5F2
oklch(88.5% 0.04 291.9)
-
Step 300
300
#C0B9EC
oklch(80.9% 0.072 291)
-
Step 400
400
#A193E2
oklch(70.6% 0.114 291.3)
-
Step 500
500
#8B77DA
oklch(63.1% 0.146 290.9)
-
Step 600
600 (this color)
#7158C1
oklch(53.8% 0.158 291.1)
-
Step 700
700
#634CAC
oklch(49% 0.147 291)
-
Step 800
800
#513F8B
oklch(42.7% 0.121 291.3)
-
Step 900
900
#43366F
oklch(37.6% 0.095 291.7)
-
Step 950
950
#272041
oklch(26.9% 0.06 291.6)
#7158C1 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) | #256CC5 | 0.094 |
| Deuteranopia (no green cones) | #2A68BF | 0.090 |
| Tritanopia (no blue cones) | #5B6E84 | 0.128 |
| Achromatopsia (no color) | #6A6A6A | 0.158 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7158C1
#7158C1
oklch(53.8% 0.158 291.1)
- #717400
#717400
oklch(53.8% 0.119 111.6)
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 #7158C1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Slate Blue #6A5ACD ΔE 0.022
- Light Indigo #6D5ACF ΔE 0.023
- Iris #6258C4 ΔE 0.024
- Dark Periwinkle #665FD1 ΔE 0.032
- Deep Lavender #8D5EB7 ΔE 0.055
- Bluey Purple #6241C7 ΔE 0.061
- Purpley #8756E4 ΔE 0.065
- Warm Blue #4B57DB ΔE 0.069
Use #7158C1 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.