#7C42DA
Closest named color: Blue Violet (#8A2BE2). oklch(53.5% 0.218 295.5), rgb(124, 66, 218).
Aa
White text reads best on this color (5.75:1).
About this color
#7C42DA is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.218 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.040 away. White text reads best on it, at 5.75:1.
| Hue family | Purples |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.218) |
| Temperature | in between |
| Nearest name | Blue Violet (#8A2BE2) |
| Black text | 3.64:1 |
| White text | 5.75:1 |
Values
| HEX | #7C42DA |
| RGB | rgb(124, 66, 218) |
| HSL | hsl(263, 67%, 56%) |
| OKLCH | oklch(53.5% 0.218 295.5) |
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 #7C42DA | 5.75:1 | AA | Lc -83.3 | Fine for body text |
| Black text on #7C42DA | 3.64:1 | AA large text | Lc 26.0 | Dividers and decoration only |
| #7C42DA text on white | 5.75:1 | AA | Lc 78.1 | Fine for body text |
| #7C42DA text on black | 3.64:1 | AA large text | Lc -23.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 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
#A98AF7
oklch(70.7% 0.157 295.2)
-
Step 500
500
#9668F3
oklch(63.2% 0.2 295.3)
-
Step 600
600 (this color)
#7C42DA
oklch(53.5% 0.218 295.5)
-
Step 700
700
#6E39C4
oklch(49.1% 0.203 295.3)
-
Step 800
800
#5A319E
oklch(42.8% 0.167 295.8)
-
Step 900
900
#492D7E
oklch(37.7% 0.131 295.3)
-
Step 950
950
#2B1B4A
oklch(27% 0.084 296)
#7C42DA 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) | #0067DE | 0.135 |
| Deuteranopia (no green cones) | #0064D7 | 0.135 |
| Tritanopia (no blue cones) | #636889 | 0.169 |
| Achromatopsia (no color) | #666666 | 0.219 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7C42DA
#7C42DA
oklch(53.5% 0.218 295.5)
- #6B7500
#6B7500
oklch(53.5% 0.122 115.5)
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 #7C42DA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Violet #8A2BE2 ΔE 0.040
- Purpley #8756E4 ΔE 0.047
- Burple #6832E3 ΔE 0.050
- Bluey Purple #6241C7 ΔE 0.054
- Light Indigo #6D5ACF ΔE 0.055
- Slate Blue #6A5ACD ΔE 0.058
- Dark Orchid #9932CC ΔE 0.063
- Purpley Blue #5F34E7 ΔE 0.063
Use #7C42DA 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.