#AB6CD7
Closest named color: Medium Purple (#9370DB). oklch(64.2% 0.165 309.7), rgb(171, 108, 215).
Aa
Black text reads best on this color (5.85:1).
About this color
#AB6CD7 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.165 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.040 away. Black text reads best on it, at 5.85:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | vivid (0.165) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.85:1 |
| White text | 3.58:1 |
Values
| HEX | #AB6CD7 |
| RGB | rgb(171, 108, 215) |
| HSL | hsl(275, 57%, 63%) |
| OKLCH | oklch(64.2% 0.165 309.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 #AB6CD7 | 3.58:1 | AA large text | Lc -68.6 | Content text, not long reading |
| Black text on #AB6CD7 | 5.85:1 | AA | Lc 40.9 | Non-text elements, placeholder text |
| #AB6CD7 text on white | 3.58:1 | AA large text | Lc 63.2 | Content text, not long reading |
| #AB6CD7 text on black | 5.85: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
#F8F4FB
oklch(97.2% 0.01 311.2)
-
Step 100
100
#EFE6F6
oklch(93.7% 0.023 310.7)
-
Step 200
200
#E2D2F0
oklch(88.6% 0.044 309.3)
-
Step 300
300
#D0B3E8
oklch(80.9% 0.08 309.4)
-
Step 400
400
#B989DD
oklch(70.8% 0.129 309.7)
-
Step 500
500 (this color)
#AB6CD7
oklch(64.2% 0.165 309.7)
-
Step 600
600
#934DC0
oklch(55.6% 0.179 309.9)
-
Step 700
700
#7D3DA6
oklch(49.1% 0.167 309.7)
-
Step 800
800
#663386
oklch(42.7% 0.138 310.2)
-
Step 900
900
#532E6C
oklch(37.8% 0.108 309.7)
-
Step 950
950
#301C3F
oklch(27% 0.067 309)
#AB6CD7 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) | #5084DB | 0.133 |
| Deuteranopia (no green cones) | #6388D4 | 0.120 |
| Tritanopia (no blue cones) | #A57E98 | 0.117 |
| Achromatopsia (no color) | #878787 | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB6CD7
#AB6CD7
oklch(64.2% 0.165 309.7)
- #6B9F16
#6B9F16
oklch(64.2% 0.165 129.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 #AB6CD7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.040
- Light Urple #B36FF6 ΔE 0.048
- Medium Orchid #BA55D3 ΔE 0.051
- Amethyst #9B5FC0 ΔE 0.052
- Deep Lilac #966EBD ΔE 0.054
- Soft Purple #A66FB5 ΔE 0.054
- Wisteria #A87DC2 ΔE 0.057
- Light Purple #BF77F6 ΔE 0.060
Use #AB6CD7 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.