#7942AB
Closest named color: Rebecca Purple (#663399). oklch(49.7% 0.164 305.3), rgb(121, 66, 171).
Aa
White text reads best on this color (6.60:1).
About this color
#7942AB is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.164 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.057 away. White text reads best on it, at 6.60:1.
| Hue family | Purples |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.164) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 3.18:1 |
| White text | 6.60:1 |
Values
| HEX | #7942AB |
| RGB | rgb(121, 66, 171) |
| HSL | hsl(271, 44%, 46%) |
| OKLCH | oklch(49.7% 0.164 305.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 #7942AB | 6.60:1 | AA | Lc -87.3 | Fine for body text |
| Black text on #7942AB | 3.18:1 | AA large text | Lc 21.8 | Dividers and decoration only |
| #7942AB text on white | 6.60:1 | AA | Lc 82.2 | Fine for body text |
| #7942AB text on black | 3.18:1 | AA large text | Lc -19.7 | 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 700.
-
Step 50
50
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#EDE6F7
oklch(93.5% 0.024 304.5)
-
Step 200
200
#E0D2F1
oklch(88.5% 0.045 305.9)
-
Step 300
300
#CDB4EA
oklch(80.9% 0.079 305.7)
-
Step 400
400
#B38BE0
oklch(70.7% 0.127 305)
-
Step 500
500
#A16CD7
oklch(63.2% 0.162 305.1)
-
Step 600
600
#8C50C4
oklch(55.5% 0.177 305.2)
-
Step 700
700 (this color)
#7942AB
oklch(49.7% 0.164 305.3)
-
Step 800
800
#613689
oklch(42.7% 0.136 305.3)
-
Step 900
900
#4F306E
oklch(37.8% 0.106 305)
-
Step 950
950
#2E1D40
oklch(27% 0.066 304.8)
#7942AB 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) | #0A5BAE | 0.136 |
| Deuteranopia (no green cones) | #2B5DA9 | 0.122 |
| Tritanopia (no blue cones) | #705770 | 0.119 |
| Achromatopsia (no color) | #5D5D5D | 0.165 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7942AB
#7942AB
oklch(49.7% 0.164 305.3)
- #526E00
#526E00
oklch(49.8% 0.125 125.2)
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 #7942AB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.057
- Purply #983FB2 ΔE 0.059
- Bluey Purple #6241C7 ΔE 0.063
- Iris #6258C4 ΔE 0.069
- Light Eggplant #894585 ΔE 0.071
- Slate Blue #6A5ACD ΔE 0.075
- Warm Purple #952E8F ΔE 0.075
- Light Indigo #6D5ACF ΔE 0.075
Use #7942AB 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.