#7151A2
Closest named color: Iris (#6258C4). oklch(50.6% 0.127 300.1), rgb(113, 81, 162).
Aa
White text reads best on this color (6.17:1).
About this color
#7151A2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.127 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.059 away. White text reads best on it, at 6.17:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | moderately saturated (0.127) |
| Temperature | in between |
| Nearest name | Iris (#6258C4) |
| Black text | 3.40:1 |
| White text | 6.17:1 |
Values
| HEX | #7151A2 |
| RGB | rgb(113, 81, 162) |
| HSL | hsl(264, 33%, 48%) |
| OKLCH | oklch(50.6% 0.127 300.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 #7151A2 | 6.17:1 | AA | Lc -85.8 | Fine for body text |
| Black text on #7151A2 | 3.40:1 | AA large text | Lc 23.5 | Dividers and decoration only |
| #7151A2 text on white | 6.17:1 | AA | Lc 80.6 | Fine for body text |
| #7151A2 text on black | 3.40:1 | AA large text | Lc -21.2 | 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
#F6F4FA
oklch(97% 0.008 301.4)
-
Step 100
100
#EBE7F4
oklch(93.5% 0.018 300.1)
-
Step 200
200
#DCD4ED
oklch(88.4% 0.035 300.3)
-
Step 300
300
#C6B8E3
oklch(80.8% 0.062 299.9)
-
Step 400
400
#AA92D5
oklch(70.6% 0.099 300.3)
-
Step 500
500
#9676CA
oklch(63.1% 0.127 300.4)
-
Step 600
600
#815EB7
oklch(55.8% 0.137 300.2)
-
Step 700
700 (this color)
#7151A2
oklch(50.6% 0.127 300.1)
-
Step 800
800
#583F7F
oklch(42.6% 0.105 300)
-
Step 900
900
#493666
oklch(37.7% 0.082 300.8)
-
Step 950
950
#2A203C
oklch(26.9% 0.052 299.3)
#7151A2 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) | #3761A5 | 0.086 |
| Deuteranopia (no green cones) | #3F61A0 | 0.080 |
| Tritanopia (no blue cones) | #676072 | 0.098 |
| Achromatopsia (no color) | #616161 | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7151A2
#7151A2
oklch(50.6% 0.127 300.1)
- #5C6E00
#5C6E00
oklch(50.5% 0.12 120.3)
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 #7151A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Iris #6258C4 ΔE 0.059
- Muted Purple #805B87 ΔE 0.063
- Light Eggplant #894585 ΔE 0.064
- Deep Lavender #8D5EB7 ΔE 0.067
- Slate Blue #6A5ACD ΔE 0.069
- Twilight #4E518B ΔE 0.069
- Light Indigo #6D5ACF ΔE 0.071
- Dusty Purple #825F87 ΔE 0.072
Use #7151A2 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.