#AB27C8
Closest named color: Dark Orchid (#9932CC). oklch(55.5% 0.24 319.3), rgb(171, 39, 200).
Aa
White text reads best on this color (5.44:1).
About this color
#AB27C8 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.240 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.037 away. White text reads best on it, at 5.44:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.240) |
| Temperature | in between |
| Nearest name | Dark Orchid (#9932CC) |
| Black text | 3.85:1 |
| White text | 5.44:1 |
Values
| HEX | #AB27C8 |
| RGB | rgb(171, 39, 200) |
| HSL | hsl(289, 67%, 47%) |
| OKLCH | oklch(55.5% 0.24 319.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 #AB27C8 | 5.44:1 | AA | Lc -81.1 | Fine for body text |
| Black text on #AB27C8 | 3.85:1 | AA large text | Lc 28.4 | Dividers and decoration only |
| #AB27C8 text on white | 5.44:1 | AA | Lc 75.7 | Fine for body text |
| #AB27C8 text on black | 3.85:1 | AA large text | Lc -26.0 | 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
#FAF3FC
oklch(97.2% 0.014 318.7)
-
Step 100
100
#F3E4F7
oklch(93.6% 0.03 319.1)
-
Step 200
200
#EBCDF3
oklch(88.5% 0.061 319.1)
-
Step 300
300
#DFAAED
oklch(80.9% 0.108 319.1)
-
Step 400
400
#CE79E3
oklch(70.7% 0.172 319.4)
-
Step 500
500
#C04FDB
oklch(63.1% 0.221 319.4)
-
Step 600
600 (this color)
#AB27C8
oklch(55.5% 0.24 319.3)
-
Step 700
700
#9316AD
oklch(49.1% 0.223 319.4)
-
Step 800
800
#77188C
oklch(42.6% 0.185 319.3)
-
Step 900
900
#611E70
oklch(37.8% 0.144 319.7)
-
Step 950
950
#391342
oklch(27% 0.092 319.5)
#AB27C8 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) | #0061CC | 0.228 |
| Deuteranopia (no green cones) | #356EC5 | 0.211 |
| Tritanopia (no blue cones) | #AB4C79 | 0.148 |
| Achromatopsia (no color) | #6A6A6A | 0.242 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB27C8
#AB27C8
oklch(55.5% 0.24 319.3)
- #2D8900
#2D8900
oklch(55.3% 0.176 139.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 #AB27C8, closest first.
No curated palette has a color within ΔE 0.04 of #AB27C8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Orchid #9932CC ΔE 0.037
- Vibrant Purple #AD03DE ΔE 0.040
- Purply #983FB2 ΔE 0.057
- Dark Violet #9400D3 ΔE 0.061
- Purpley Pink #C83CB9 ΔE 0.075
- Blue Violet #8A2BE2 ΔE 0.080
- Medium Orchid #BA55D3 ΔE 0.080
- Bright Violet #AD0AFD ΔE 0.082
Use #AB27C8 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.