#AB6ECF
Closest named color: Soft Purple (#A66FB5). oklch(64.1% 0.153 311.8), rgb(171, 110, 207).
Aa
Black text reads best on this color (5.86:1).
About this color
#AB6ECF is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.153 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.041 away. Black text reads best on it, at 5.86:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | vivid (0.153) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.86:1 |
| White text | 3.58:1 |
Values
| HEX | #AB6ECF |
| RGB | rgb(171, 110, 207) |
| HSL | hsl(278, 50%, 62%) |
| OKLCH | oklch(64.1% 0.153 311.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 #AB6ECF | 3.58:1 | AA large text | Lc -68.7 | Content text, not long reading |
| Black text on #AB6ECF | 5.86:1 | AA | Lc 40.9 | Non-text elements, placeholder text |
| #AB6ECF text on white | 3.58:1 | AA large text | Lc 63.2 | Content text, not long reading |
| #AB6ECF text on black | 5.86:1 | AA | Lc -38.5 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F8F4FA
oklch(97.2% 0.009 314.8)
-
Step 100
100
#EFE6F5
oklch(93.6% 0.022 312.2)
-
Step 200
200
#E2D2EE
oklch(88.5% 0.042 310.9)
-
Step 300
300
#D1B3E4
oklch(80.9% 0.075 312.2)
-
Step 400
400
#B98AD7
oklch(70.7% 0.12 311.5)
-
Step 500
500 (this color)
#AB6ECF
oklch(64.1% 0.153 311.8)
-
Step 600
600
#9350B8
oklch(55.6% 0.166 311.9)
-
Step 700
700
#7D409F
oklch(49.1% 0.155 311.7)
-
Step 800
800
#663681
oklch(42.8% 0.128 311.7)
-
Step 900
900
#532F67
oklch(37.6% 0.1 312.2)
-
Step 950
950
#311C3D
oklch(27% 0.065 312.1)
#AB6ECF 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) | #5884D2 | 0.125 |
| Deuteranopia (no green cones) | #6989CC | 0.113 |
| Tritanopia (no blue cones) | #A77D95 | 0.106 |
| Achromatopsia (no color) | #878787 | 0.154 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB6ECF
#AB6ECF
oklch(64.1% 0.153 311.8)
- #699F2F
#699F2F
oklch(64.2% 0.153 131.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 #AB6ECF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.041
- Medium Purple #9370DB ΔE 0.044
- Deep Lilac #966EBD ΔE 0.045
- Wisteria #A87DC2 ΔE 0.045
- Amethyst #9B5FC0 ΔE 0.049
- Medium Orchid #BA55D3 ΔE 0.057
- Light Urple #B36FF6 ΔE 0.059
- Light Purple #BF77F6 ΔE 0.068
Use #AB6ECF 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.