#AB5FDB
Closest named color: Medium Orchid (#BA55D3). oklch(62.5% 0.19 310.3), rgb(171, 95, 219).
Aa
Black text reads best on this color (5.39:1).
About this color
#AB5FDB is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.190 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.033 away. Black text reads best on it, at 5.39:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.190) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 5.39:1 |
| White text | 3.89:1 |
Values
| HEX | #AB5FDB |
| RGB | rgb(171, 95, 219) |
| HSL | hsl(277, 63%, 62%) |
| OKLCH | oklch(62.5% 0.19 310.3) |
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 #AB5FDB | 3.89:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #AB5FDB | 5.39:1 | AA | Lc 38.1 | Non-text elements, placeholder text |
| #AB5FDB text on white | 3.89:1 | AA large text | Lc 65.9 | Content text, not long reading |
| #AB5FDB text on black | 5.39:1 | AA | Lc -35.7 | 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
#EFE5F8
oklch(93.5% 0.027 309.2)
-
Step 200
200
#E4D0F3
oklch(88.5% 0.052 310.8)
-
Step 300
300
#D3B0EE
oklch(80.9% 0.093 310)
-
Step 400
400
#BD84E5
oklch(70.7% 0.149 310.1)
-
Step 500
500 (this color)
#AB5FDB
oklch(62.5% 0.19 310.3)
-
Step 600
600
#9843CA
oklch(55.6% 0.205 310.3)
-
Step 700
700
#8233AF
oklch(49.1% 0.192 310.3)
-
Step 800
800
#6A2C8E
oklch(42.8% 0.159 310.4)
-
Step 900
900
#562971
oklch(37.7% 0.124 310.6)
-
Step 950
950
#321942
oklch(26.9% 0.078 310.3)
#AB5FDB 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) | #367EDF | 0.163 |
| Deuteranopia (no green cones) | #5382D8 | 0.144 |
| Tritanopia (no blue cones) | #A57594 | 0.132 |
| Achromatopsia (no color) | #818181 | 0.191 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB5FDB
#AB5FDB
oklch(62.5% 0.19 310.3)
- #649B00
#649B00
oklch(62.7% 0.169 130.3)
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 #AB5FDB, closest first.
No curated palette has a color within ΔE 0.04 of #AB5FDB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.033
- Lighter Purple #A55AF4 ΔE 0.042
- Amethyst #9B5FC0 ΔE 0.049
- Light Urple #B36FF6 ΔE 0.052
- Medium Purple #9370DB ΔE 0.052
- Deep Lilac #966EBD ΔE 0.069
- Bright Lilac #C95EFB ΔE 0.070
- Purpley #8756E4 ΔE 0.071
Use #AB5FDB 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.