#7042A2
Closest named color: Rebecca Purple (#663399). oklch(48% 0.151 303.3), rgb(112, 66, 162).
Aa
White text reads best on this color (7.02:1).
About this color
#7042A2 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.151 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.041 away. White text reads best on it, at 7.02:1.
| Hue family | Purples |
| Lightness | medium-dark (48%) |
| Chroma | vivid (0.151) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 2.98:1 |
| White text | 7.02:1 |
Values
| HEX | #7042A2 |
| RGB | rgb(112, 66, 162) |
| HSL | hsl(269, 42%, 45%) |
| OKLCH | oklch(48% 0.151 303.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 #7042A2 | 7.02:1 | AAA | Lc -88.9 | Fine for body text |
| Black text on #7042A2 | 2.98:1 | Fails | Lc 20.1 | Dividers and decoration only |
| #7042A2 text on white | 7.02:1 | AAA | Lc 84.0 | Fine for body text |
| #7042A2 text on black | 2.98:1 | Fails | Lc -18.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 700.
-
Step 50
50
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#ECE7F6
oklch(93.6% 0.021 301.1)
-
Step 200
200
#DED3F0
oklch(88.5% 0.041 302.8)
-
Step 300
300
#CAB6E8
oklch(81% 0.073 303.1)
-
Step 400
400
#B08EDC
oklch(70.7% 0.117 303.6)
-
Step 500
500
#9D70D3
oklch(63.2% 0.15 303.4)
-
Step 600
600
#8856C0
oklch(55.7% 0.162 303.3)
-
Step 700
700 (this color)
#7042A2
oklch(48% 0.151 303.3)
-
Step 800
800
#5E3A86
oklch(42.8% 0.124 303.4)
-
Step 900
900
#4D326B
oklch(37.7% 0.098 304)
-
Step 950
950
#2D1E3F
oklch(27.1% 0.062 303.5)
#7042A2 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) | #1658A5 | 0.119 |
| Deuteranopia (no green cones) | #2B59A0 | 0.108 |
| Tritanopia (no blue cones) | #67556B | 0.112 |
| Achromatopsia (no color) | #595959 | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7042A2
#7042A2
oklch(48% 0.151 303.3)
- #516800
#516800
oklch(48.1% 0.119 123.4)
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 #7042A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.041
- Bluey Purple #6241C7 ΔE 0.065
- Light Eggplant #894585 ΔE 0.070
- Iris #6258C4 ΔE 0.072
- Blueberry #464196 ΔE 0.076
- Twilight #4E518B ΔE 0.078
- Purply #983FB2 ΔE 0.079
- Blue With A Hint Of Purple #533CC6 ΔE 0.081
Use #7042A2 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.