#7A42CD
Closest named color: Bluey Purple (#6241C7). oklch(52.2% 0.203 297.3), rgb(122, 66, 205).
Aa
White text reads best on this color (6.02:1).
About this color
#7A42CD is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.203 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.044 away. White text reads best on it, at 6.02:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.203) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.48:1 |
| White text | 6.02:1 |
Values
| HEX | #7A42CD |
| RGB | rgb(122, 66, 205) |
| HSL | hsl(264, 58%, 53%) |
| OKLCH | oklch(52.2% 0.203 297.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 #7A42CD | 6.02:1 | AA | Lc -84.6 | Fine for body text |
| Black text on #7A42CD | 3.48:1 | AA large text | Lc 24.6 | Dividers and decoration only |
| #7A42CD text on white | 6.02:1 | AA | Lc 79.4 | Fine for body text |
| #7A42CD text on black | 3.48:1 | AA large text | Lc -22.4 | 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
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#EBE6FB
oklch(93.5% 0.029 296.7)
-
Step 200
200
#DDD2FA
oklch(88.5% 0.056 297.8)
-
Step 300
300
#C7B3F9
oklch(80.8% 0.099 297.2)
-
Step 400
400
#AC89F5
oklch(70.7% 0.156 297.2)
-
Step 500
500
#9966F1
oklch(63% 0.201 297.2)
-
Step 600
600
#8548E0
oklch(55.6% 0.218 297.1)
-
Step 700
700 (this color)
#7A42CD
oklch(52.2% 0.203 297.3)
-
Step 800
800
#5C2F9D
oklch(42.6% 0.169 297.5)
-
Step 900
900
#4B2C7D
oklch(37.7% 0.131 297.3)
-
Step 950
950
#2C1B49
oklch(27.1% 0.083 297.7)
#7A42CD 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) | #0063D1 | 0.134 |
| Deuteranopia (no green cones) | #0061CA | 0.135 |
| Tritanopia (no blue cones) | #656382 | 0.156 |
| Achromatopsia (no color) | #636363 | 0.204 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7A42CD
#7A42CD
oklch(52.2% 0.203 297.3)
- #657200
#657200
oklch(52.3% 0.121 117.3)
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 #7A42CD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.044
- Blue Violet #8A2BE2 ΔE 0.051
- Light Indigo #6D5ACF ΔE 0.052
- Slate Blue #6A5ACD ΔE 0.054
- Burple #6832E3 ΔE 0.057
- Purpley #8756E4 ΔE 0.058
- Iris #6258C4 ΔE 0.060
- Dark Orchid #9932CC ΔE 0.061
Use #7A42CD 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.