#AB7CF2
Closest named color: Light Urple (#B36FF6). oklch(68.3% 0.172 300.3), rgb(171, 124, 242).
Aa
Black text reads best on this color (6.89:1).
About this color
#AB7CF2 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.172 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.032 away. Black text reads best on it, at 6.89:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.172) |
| Temperature | in between |
| Nearest name | Light Urple (#B36FF6) |
| Black text | 6.89:1 |
| White text | 3.04:1 |
Values
| HEX | #AB7CF2 |
| RGB | rgb(171, 124, 242) |
| HSL | hsl(264, 82%, 72%) |
| OKLCH | oklch(68.3% 0.172 300.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 #AB7CF2 | 3.04:1 | AA large text | Lc -62.4 | Content text, not long reading |
| Black text on #AB7CF2 | 6.89:1 | AA | Lc 47.0 | Large or bold text, headings |
| #AB7CF2 text on white | 3.04:1 | AA large text | Lc 57.0 | Large or bold text, headings |
| #AB7CF2 text on black | 6.89:1 | AA | Lc -44.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 400.
-
Step 50
50
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EDE6FC
oklch(93.7% 0.03 300.3)
-
Step 200
200
#DFD1FB
oklch(88.5% 0.059 300.4)
-
Step 300
300
#CBB1FC
oklch(80.9% 0.107 299.9)
-
Step 400
400 (this color)
#AB7CF2
oklch(68.3% 0.172 300.3)
-
Step 500
500
#A15EF7
oklch(63.1% 0.22 300.3)
-
Step 600
600
#8D3CE6
oklch(55.6% 0.239 300.3)
-
Step 700
700
#782BC8
oklch(49% 0.223 300.2)
-
Step 800
800
#6227A2
oklch(42.8% 0.184 300.4)
-
Step 900
900
#4F2780
oklch(37.7% 0.143 300.2)
-
Step 950
950
#2E184B
oklch(26.9% 0.091 300.2)
#AB7CF2 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) | #5693F6 | 0.117 |
| Deuteranopia (no green cones) | #6193EF | 0.109 |
| Tritanopia (no blue cones) | #9D92AC | 0.133 |
| Achromatopsia (no color) | #949494 | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB7CF2
#AB7CF2
oklch(68.3% 0.172 300.3)
- #8CA700
#8CA700
oklch(68.3% 0.163 120.6)
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 #AB7CF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Urple #B36FF6 ΔE 0.032
- Light Purple #BF77F6 ΔE 0.034
- Easter Purple #C071FE ΔE 0.045
- Periwinkle #8E82FE ΔE 0.048
- Lavender Blue #8B88F8 ΔE 0.053
- Medium Purple #9370DB ΔE 0.059
- Perrywinkle #8F8CE7 ΔE 0.059
- Liliac #C48EFD ΔE 0.062
Use #AB7CF2 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.