#A31386
Closest named color: Warm Purple (#952E8F). oklch(49.1% 0.204 338.8), rgb(163, 19, 134).
Aa
White text reads best on this color (7.01:1).
About this color
#A31386 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.204 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.039 away. White text reads best on it, at 7.01:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.204) |
| Temperature | warm |
| Nearest name | Warm Purple (#952E8F) |
| Black text | 2.99:1 |
| White text | 7.01:1 |
Values
| HEX | #A31386 |
| RGB | rgb(163, 19, 134) |
| HSL | hsl(312, 79%, 36%) |
| OKLCH | oklch(49.1% 0.204 338.8) |
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 #A31386 | 7.01:1 | AAA | Lc -87.6 | Fine for body text |
| Black text on #A31386 | 2.99:1 | Fails | Lc 21.5 | Dividers and decoration only |
| #A31386 text on white | 7.01:1 | AAA | Lc 82.5 | Fine for body text |
| #A31386 text on black | 2.99:1 | Fails | Lc -19.4 | 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
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F8E3F0
oklch(93.6% 0.028 340)
-
Step 200
200
#F3CCE5
oklch(88.6% 0.055 339.6)
-
Step 300
300
#EBA8D6
oklch(80.9% 0.098 338.6)
-
Step 400
400
#DE76C1
oklch(70.7% 0.157 338.7)
-
Step 500
500
#D24CB1
oklch(63% 0.201 338.8)
-
Step 600
600
#BE259D
oklch(55.7% 0.219 338.9)
-
Step 700
700 (this color)
#A31386
oklch(49.1% 0.204 338.8)
-
Step 800
800
#84166D
oklch(42.6% 0.169 338.6)
-
Step 900
900
#6B1C58
oklch(37.7% 0.131 339.1)
-
Step 950
950
#3F1234
oklch(27% 0.084 338.5)
#A31386 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) | #1F4B89 | 0.230 |
| Deuteranopia (no green cones) | #536183 | 0.194 |
| Tritanopia (no blue cones) | #AD1D4F | 0.097 |
| Achromatopsia (no color) | #595959 | 0.205 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A31386
#A31386
oklch(49.1% 0.204 338.8)
- #007348
#007348
oklch(49% 0.113 158.9)
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 #A31386, closest first.
No curated palette has a color within ΔE 0.04 of #A31386.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Purple #952E8F ΔE 0.039
- Red Violet #9E0168 ΔE 0.049
- Dark Magenta #8B008B ΔE 0.058
- Deep Magenta #A0025C ΔE 0.067
- Dark Fuchsia #9D0759 ΔE 0.072
- Medium Violet Red #C71585 ΔE 0.076
- Violet Red #A50055 ΔE 0.078
- Purple #800080 ΔE 0.080
Use #A31386 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.