#7151AB
Closest named color: Iris (#6258C4). oklch(51.2% 0.139 297.7), rgb(113, 81, 171).
Aa
White text reads best on this color (6.05:1).
About this color
#7151AB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.139 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.047 away. White text reads best on it, at 6.05:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | moderately saturated (0.139) |
| Temperature | in between |
| Nearest name | Iris (#6258C4) |
| Black text | 3.46:1 |
| White text | 6.05:1 |
Values
| HEX | #7151AB |
| RGB | rgb(113, 81, 171) |
| HSL | hsl(261, 36%, 49%) |
| OKLCH | oklch(51.2% 0.139 297.7) |
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 #7151AB | 6.05:1 | AA | Lc -85.2 | Fine for body text |
| Black text on #7151AB | 3.46:1 | AA large text | Lc 24.0 | Dividers and decoration only |
| #7151AB text on white | 6.05:1 | AA | Lc 80.0 | Fine for body text |
| #7151AB text on black | 3.46:1 | AA large text | Lc -21.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 700.
-
Step 50
50
#F6F4FB
oklch(97.1% 0.009 299.2)
-
Step 100
100
#EBE7F6
oklch(93.5% 0.021 298.2)
-
Step 200
200
#DBD4EF
oklch(88.4% 0.037 297.5)
-
Step 300
300
#C5B8E7
oklch(80.9% 0.067 297.6)
-
Step 400
400
#A892DB
oklch(70.7% 0.107 297.5)
-
Step 500
500
#9475D1
oklch(63.1% 0.137 297.9)
-
Step 600
600
#7F5CBF
oklch(55.7% 0.15 297.6)
-
Step 700
700 (this color)
#7151AB
oklch(51.2% 0.139 297.7)
-
Step 800
800
#573E85
oklch(42.7% 0.115 297.6)
-
Step 900
900
#48356B
oklch(37.7% 0.091 298.1)
-
Step 950
950
#2A203E
oklch(27.1% 0.055 298)
#7151AB 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) | #2F63AE | 0.093 |
| Deuteranopia (no green cones) | #3762A9 | 0.087 |
| Tritanopia (no blue cones) | #646376 | 0.110 |
| Achromatopsia (no color) | #626262 | 0.140 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7151AB
#7151AB
oklch(51.2% 0.139 297.7)
- #616F00
#616F00
oklch(51.2% 0.119 118.1)
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 #7151AB, closest first.
No curated palette has a color within ΔE 0.04 of #7151AB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Iris #6258C4 ΔE 0.047
- Slate Blue #6A5ACD ΔE 0.056
- Light Indigo #6D5ACF ΔE 0.058
- Deep Lavender #8D5EB7 ΔE 0.062
- Dark Periwinkle #665FD1 ΔE 0.066
- Bluey Purple #6241C7 ΔE 0.066
- Muted Purple #805B87 ΔE 0.074
- Light Eggplant #894585 ΔE 0.075
Use #7151AB 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.