#7C42D9
Closest named color: Blue Violet (#8A2BE2). oklch(53.4% 0.217 295.7), rgb(124, 66, 217).
Aa
White text reads best on this color (5.77:1).
About this color
#7C42D9 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.217 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.041 away. White text reads best on it, at 5.77:1.
| Hue family | Purples |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.217) |
| Temperature | in between |
| Nearest name | Blue Violet (#8A2BE2) |
| Black text | 3.63:1 |
| White text | 5.77:1 |
Values
| HEX | #7C42D9 |
| RGB | rgb(124, 66, 217) |
| HSL | hsl(263, 67%, 55%) |
| OKLCH | oklch(53.4% 0.217 295.7) |
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 #7C42D9 | 5.77:1 | AA | Lc -83.4 | Fine for body text |
| Black text on #7C42D9 | 3.63:1 | AA large text | Lc 25.9 | Dividers and decoration only |
| #7C42D9 text on white | 5.77:1 | AA | Lc 78.1 | Fine for body text |
| #7C42D9 text on black | 3.63:1 | AA large text | Lc -23.6 | 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
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#EBE6FB
oklch(93.5% 0.029 296.7)
-
Step 200
200
#DBD3FA
oklch(88.6% 0.054 294.7)
-
Step 300
300
#C5B4F9
oklch(80.8% 0.098 295.4)
-
Step 400
400
#AA8AF6
oklch(70.8% 0.156 295.8)
-
Step 500
500
#9668F2
oklch(63.1% 0.199 295.5)
-
Step 600
600 (this color)
#7C42D9
oklch(53.4% 0.217 295.7)
-
Step 700
700
#6F39C3
oklch(49.1% 0.202 296)
-
Step 800
800
#5A319E
oklch(42.8% 0.167 295.8)
-
Step 900
900
#492D7D
oklch(37.6% 0.13 295.6)
-
Step 950
950
#2B1B49
oklch(26.9% 0.082 296.5)
#7C42D9 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) | #0067DD | 0.136 |
| Deuteranopia (no green cones) | #0063D6 | 0.135 |
| Tritanopia (no blue cones) | #636889 | 0.168 |
| Achromatopsia (no color) | #666666 | 0.218 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7C42D9
#7C42D9
oklch(53.4% 0.217 295.7)
- #6A7500
#6A7500
oklch(53.5% 0.122 116.1)
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 #7C42D9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Violet #8A2BE2 ΔE 0.041
- Purpley #8756E4 ΔE 0.048
- Burple #6832E3 ΔE 0.050
- Bluey Purple #6241C7 ΔE 0.053
- Light Indigo #6D5ACF ΔE 0.055
- Slate Blue #6A5ACD ΔE 0.058
- Dark Orchid #9932CC ΔE 0.062
- Purpley Blue #5F34E7 ΔE 0.064
Use #7C42D9 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.