#A766DA
Closest named color: Medium Purple (#9370DB). oklch(63.1% 0.177 308), rgb(167, 102, 218).
Aa
Black text reads best on this color (5.55:1).
About this color
#A766DA is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.177 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.038 away. Black text reads best on it, at 5.55:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.177) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.55:1 |
| White text | 3.77:1 |
Values
| HEX | #A766DA |
| RGB | rgb(167, 102, 218) |
| HSL | hsl(274, 61%, 63%) |
| OKLCH | oklch(63.1% 0.177 308) |
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 #A766DA | 3.77:1 | AA large text | Lc -70.5 | Content text, not long reading |
| Black text on #A766DA | 5.55:1 | AA | Lc 39.1 | Non-text elements, placeholder text |
| #A766DA text on white | 3.77:1 | AA large text | Lc 65.0 | Content text, not long reading |
| #A766DA text on black | 5.55:1 | AA | Lc -36.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
#F7F3FC
oklch(97% 0.013 306)
-
Step 100
100
#EEE6F7
oklch(93.6% 0.024 307)
-
Step 200
200
#E2D1F2
oklch(88.5% 0.048 308.5)
-
Step 300
300
#D0B2EC
oklch(80.9% 0.086 308)
-
Step 400
400
#B887E3
oklch(70.6% 0.139 307.7)
-
Step 500
500 (this color)
#A766DA
oklch(63.1% 0.177 308)
-
Step 600
600
#934AC8
oklch(55.7% 0.192 308)
-
Step 700
700
#7D3AAC
oklch(49.1% 0.178 308.2)
-
Step 800
800
#65318C
oklch(42.7% 0.148 307.6)
-
Step 900
900
#532C70
oklch(37.7% 0.117 308.3)
-
Step 950
950
#301B41
oklch(27% 0.072 307.8)
#A766DA 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) | #4281DE | 0.143 |
| Deuteranopia (no green cones) | #5884D7 | 0.128 |
| Tritanopia (no blue cones) | #A07B96 | 0.128 |
| Achromatopsia (no color) | #838383 | 0.178 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A766DA
#A766DA
oklch(63.1% 0.177 308)
- #6C9B00
#6C9B00
oklch(63.2% 0.165 128)
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 #A766DA, closest first.
No curated palette has a color within ΔE 0.04 of #A766DA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.038
- Medium Orchid #BA55D3 ΔE 0.045
- Amethyst #9B5FC0 ΔE 0.046
- Light Urple #B36FF6 ΔE 0.049
- Lighter Purple #A55AF4 ΔE 0.049
- Deep Lilac #966EBD ΔE 0.057
- Soft Purple #A66FB5 ΔE 0.064
- Light Purple #BF77F6 ΔE 0.068
Use #A766DA 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.