#7C42CF
Closest named color: Blue Violet (#8A2BE2). oklch(52.6% 0.206 297.7), rgb(124, 66, 207).
Aa
White text reads best on this color (5.93:1).
About this color
#7C42CF is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.206 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.048 away. White text reads best on it, at 5.93:1.
| Hue family | Purples |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.206) |
| Temperature | in between |
| Nearest name | Blue Violet (#8A2BE2) |
| Black text | 3.53:1 |
| White text | 5.93:1 |
Values
| HEX | #7C42CF |
| RGB | rgb(124, 66, 207) |
| HSL | hsl(265, 59%, 54%) |
| OKLCH | oklch(52.6% 0.206 297.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 #7C42CF | 5.93:1 | AA | Lc -84.3 | Fine for body text |
| Black text on #7C42CF | 3.53:1 | AA large text | Lc 25.0 | Dividers and decoration only |
| #7C42CF text on white | 5.93:1 | AA | Lc 79.0 | Fine for body text |
| #7C42CF text on black | 3.53:1 | AA large text | Lc -22.8 | 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
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#ECE6FA
oklch(93.6% 0.027 299.5)
-
Step 200
200
#DDD3F8
oklch(88.6% 0.051 297.7)
-
Step 300
300
#C7B4F5
oklch(80.8% 0.092 297.7)
-
Step 400
400
#AC8AF0
oklch(70.6% 0.148 297.9)
-
Step 500
500
#9969EB
oklch(63.1% 0.189 297.8)
-
Step 600
600 (this color)
#7C42CF
oklch(52.6% 0.206 297.7)
-
Step 700
700
#713CBC
oklch(49.2% 0.19 298)
-
Step 800
800
#5B3398
oklch(42.7% 0.157 297.5)
-
Step 900
900
#4B2E79
oklch(37.7% 0.123 298.1)
-
Step 950
950
#2C1C47
oklch(27.1% 0.078 298.2)
#7C42CF 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) | #0064D3 | 0.137 |
| Deuteranopia (no green cones) | #0062CC | 0.137 |
| Tritanopia (no blue cones) | #686483 | 0.158 |
| Achromatopsia (no color) | #646464 | 0.207 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7C42CF
#7C42CF
oklch(52.6% 0.206 297.7)
- #657300
#657300
oklch(52.5% 0.122 117.8)
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 #7C42CF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Violet #8A2BE2 ΔE 0.048
- Bluey Purple #6241C7 ΔE 0.048
- Light Indigo #6D5ACF ΔE 0.053
- Purpley #8756E4 ΔE 0.055
- Slate Blue #6A5ACD ΔE 0.056
- Burple #6832E3 ΔE 0.057
- Dark Orchid #9932CC ΔE 0.058
- Iris #6258C4 ΔE 0.062
Use #7C42CF 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.