#A31BE2
Closest named color: Vibrant Purple (#AD03DE). oklch(55.6% 0.266 310.6), rgb(163, 27, 226).
Aa
White text reads best on this color (5.50:1).
About this color
#A31BE2 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.266 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.023 away. White text reads best on it, at 5.50:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.266) |
| Temperature | in between |
| Nearest name | Vibrant Purple (#AD03DE) |
| Black text | 3.81:1 |
| White text | 5.50:1 |
Values
| HEX | #A31BE2 |
| RGB | rgb(163, 27, 226) |
| HSL | hsl(281, 79%, 50%) |
| OKLCH | oklch(55.6% 0.266 310.6) |
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 #A31BE2 | 5.50:1 | AA | Lc -81.0 | Fine for body text |
| Black text on #A31BE2 | 3.81:1 | AA large text | Lc 28.4 | Dividers and decoration only |
| #A31BE2 text on white | 5.50:1 | AA | Lc 75.7 | Fine for body text |
| #A31BE2 text on black | 3.81:1 | AA large text | Lc -26.1 | 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 600.
-
Step 50
50
#F9F3FE
oklch(97.2% 0.016 310.1)
-
Step 100
100
#F1E4FC
oklch(93.6% 0.035 309.8)
-
Step 200
200
#E7CDFA
oklch(88.4% 0.067 310.9)
-
Step 300
300
#D9AAFA
oklch(80.8% 0.12 310.7)
-
Step 400
400
#C678F7
oklch(70.7% 0.192 310.8)
-
Step 500
500
#B74BF4
oklch(63.1% 0.246 310.5)
-
Step 600
600 (this color)
#A31BE2
oklch(55.6% 0.266 310.6)
-
Step 700
700
#8C00C4
oklch(49.1% 0.247 310.8)
-
Step 800
800
#710F9F
oklch(42.7% 0.205 310.4)
-
Step 900
900
#5C1B7E
oklch(37.8% 0.159 310.8)
-
Step 950
950
#36124A
oklch(27% 0.102 310.9)
#A31BE2 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) | #0063E7 | 0.213 |
| Deuteranopia (no green cones) | #006BDE | 0.217 |
| Tritanopia (no blue cones) | #9A5687 | 0.177 |
| Achromatopsia (no color) | #696969 | 0.269 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A31BE2
#A31BE2
oklch(55.6% 0.266 310.6)
- #538400
#538400
oklch(55.7% 0.152 130.8)
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 #A31BE2, closest first.
No curated palette has a color within ΔE 0.04 of #A31BE2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vibrant Purple #AD03DE ΔE 0.023
- Dark Violet #9400D3 ΔE 0.041
- Dark Orchid #9932CC ΔE 0.042
- Bright Violet #AD0AFD ΔE 0.043
- Vivid Purple #9900FA ΔE 0.045
- Electric Purple #AA23FF ΔE 0.046
- Blue Violet #8A2BE2 ΔE 0.050
- Neon Purple #BC13FE ΔE 0.061
Use #A31BE2 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.