#A7239A
Closest named color: Warm Purple (#952E8F). oklch(51.7% 0.207 332.7), rgb(167, 35, 154).
Aa
White text reads best on this color (6.26:1).
About this color
#A7239A is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.207 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.040 away. White text reads best on it, at 6.26:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.207) |
| Temperature | in between |
| Nearest name | Warm Purple (#952E8F) |
| Black text | 3.35:1 |
| White text | 6.26:1 |
Values
| HEX | #A7239A |
| RGB | rgb(167, 35, 154) |
| HSL | hsl(306, 65%, 40%) |
| OKLCH | oklch(51.7% 0.207 332.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 #A7239A | 6.26:1 | AA | Lc -85.0 | Fine for body text |
| Black text on #A7239A | 3.35:1 | AA large text | Lc 24.2 | Dividers and decoration only |
| #A7239A text on white | 6.26:1 | AA | Lc 79.8 | Fine for body text |
| #A7239A text on black | 3.35:1 | AA large text | Lc -22.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
#FBF2F9
oklch(97% 0.013 333)
-
Step 100
100
#F6E3F2
oklch(93.5% 0.029 332.8)
-
Step 200
200
#F0CCE9
oklch(88.4% 0.055 332.7)
-
Step 300
300
#E8A9DD
oklch(81% 0.1 332.7)
-
Step 400
400
#DA77CB
oklch(70.7% 0.16 333)
-
Step 500
500
#CD4EBE
oklch(63.2% 0.204 332.6)
-
Step 600
600
#B828AA
oklch(55.6% 0.222 332.6)
-
Step 700
700 (this color)
#A7239A
oklch(51.7% 0.207 332.7)
-
Step 800
800
#811876
oklch(42.8% 0.172 333)
-
Step 900
900
#681D5F
oklch(37.7% 0.133 333.1)
-
Step 950
950
#3D1338
oklch(27% 0.084 332.6)
#A7239A 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) | #1A549D | 0.228 |
| Deuteranopia (no green cones) | #516797 | 0.192 |
| Tritanopia (no blue cones) | #AF335E | 0.108 |
| Achromatopsia (no color) | #606060 | 0.209 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A7239A
#A7239A
oklch(51.7% 0.207 332.7)
- #007D40
#007D40
oklch(51.7% 0.134 152.7)
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 #A7239A, closest first.
No curated palette has a color within ΔE 0.04 of #A7239A.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Purple #952E8F ΔE 0.040
- Purply #983FB2 ΔE 0.058
- Dark Magenta #8B008B ΔE 0.072
- Medium Violet Red #C71585 ΔE 0.074
- Red Violet #9E0168 ΔE 0.082
- Light Eggplant #894585 ΔE 0.084
- Dark Orchid #9932CC ΔE 0.086
- Purpley Pink #C83CB9 ΔE 0.088
Use #A7239A 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.