#AB5DD7
Closest named color: Medium Orchid (#BA55D3). oklch(62% 0.189 311.6), rgb(171, 93, 215).
Aa
Black text reads best on this color (5.27:1).
About this color
#AB5DD7 is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.189 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.030 away. Black text reads best on it, at 5.27:1.
| Hue family | Purples |
| Lightness | medium-light (62%) |
| Chroma | vivid (0.189) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 5.27:1 |
| White text | 3.97:1 |
Values
| HEX | #AB5DD7 |
| RGB | rgb(171, 93, 215) |
| HSL | hsl(278, 60%, 60%) |
| OKLCH | oklch(62% 0.189 311.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 #AB5DD7 | 3.97:1 | AA large text | Lc -72.2 | Content text, not long reading |
| Black text on #AB5DD7 | 5.27:1 | AA | Lc 37.4 | Non-text elements, placeholder text |
| #AB5DD7 text on white | 3.97:1 | AA large text | Lc 66.7 | Content text, not long reading |
| #AB5DD7 text on black | 5.27:1 | AA | Lc -35.0 | 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
#F8F3FC
oklch(97.1% 0.013 310.5)
-
Step 100
100
#F0E5F7
oklch(93.6% 0.027 312.6)
-
Step 200
200
#E4D0F2
oklch(88.4% 0.051 311.5)
-
Step 300
300
#D4B0EC
oklch(80.9% 0.091 311.5)
-
Step 400
400
#BF84E3
oklch(70.8% 0.147 311.7)
-
Step 500
500 (this color)
#AB5DD7
oklch(62% 0.189 311.6)
-
Step 600
600
#9A42C8
oklch(55.6% 0.205 311.7)
-
Step 700
700
#8332AD
oklch(49% 0.191 311.5)
-
Step 800
800
#6B2B8C
oklch(42.7% 0.159 311.8)
-
Step 900
900
#572970
oklch(37.8% 0.123 311.8)
-
Step 950
950
#331942
oklch(27.1% 0.078 311.5)
#AB5DD7 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) | #377CDB | 0.164 |
| Deuteranopia (no green cones) | #5481D4 | 0.145 |
| Tritanopia (no blue cones) | #A67391 | 0.130 |
| Achromatopsia (no color) | #7F7F7F | 0.190 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB5DD7
#AB5DD7
oklch(62% 0.189 311.6)
- #5E9A00
#5E9A00
oklch(62.1% 0.171 131.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 #AB5DD7, closest first.
No curated palette has a color within ΔE 0.04 of #AB5DD7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.030
- Amethyst #9B5FC0 ΔE 0.045
- Lighter Purple #A55AF4 ΔE 0.047
- Medium Purple #9370DB ΔE 0.055
- Light Urple #B36FF6 ΔE 0.058
- Deep Lilac #966EBD ΔE 0.068
- Pinky Purple #C94CBE ΔE 0.069
- Deep Lavender #8D5EB7 ΔE 0.071
Use #AB5DD7 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.