#942CA6
Closest named color: Purply (#983FB2). oklch(50.3% 0.198 321.3), rgb(148, 44, 166).
Aa
White text reads best on this color (6.62:1).
About this color
#942CA6 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.198 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.037 away. White text reads best on it, at 6.62:1.
| Hue family | Purples |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.198) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.17:1 |
| White text | 6.62:1 |
Values
| HEX | #942CA6 |
| RGB | rgb(148, 44, 166) |
| HSL | hsl(291, 58%, 41%) |
| OKLCH | oklch(50.3% 0.198 321.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 #942CA6 | 6.62:1 | AA | Lc -86.8 | Fine for body text |
| Black text on #942CA6 | 3.17:1 | AA large text | Lc 22.4 | Dividers and decoration only |
| #942CA6 text on white | 6.62:1 | AA | Lc 81.7 | Fine for body text |
| #942CA6 text on black | 3.17:1 | AA large text | Lc -20.2 | 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
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F3E4F5
oklch(93.6% 0.028 322.2)
-
Step 200
200
#EACEEF
oklch(88.5% 0.054 321.1)
-
Step 300
300
#DEACE6
oklch(80.9% 0.097 321.7)
-
Step 400
400
#CC7EDA
oklch(70.8% 0.154 321.3)
-
Step 500
500
#BD58CF
oklch(63.1% 0.196 321.4)
-
Step 600
600
#A837BC
oklch(55.5% 0.213 321.2)
-
Step 700
700 (this color)
#942CA6
oklch(50.3% 0.198 321.3)
-
Step 800
800
#752383
oklch(42.6% 0.164 321.4)
-
Step 900
900
#5F2469
oklch(37.7% 0.127 321.6)
-
Step 950
950
#38163E
oklch(27% 0.082 321.4)
#942CA6 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) | #0055A9 | 0.200 |
| Deuteranopia (no green cones) | #3B60A3 | 0.173 |
| Tritanopia (no blue cones) | #954367 | 0.119 |
| Achromatopsia (no color) | #5D5D5D | 0.200 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #942CA6
#942CA6
oklch(50.3% 0.198 321.3)
- #157900
#157900
oklch(50.2% 0.166 141.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 #942CA6, closest first.
No curated palette has a color within ΔE 0.04 of #942CA6.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.037
- Warm Purple #952E8F ΔE 0.038
- Dark Orchid #9932CC ΔE 0.060
- Dark Magenta #8B008B ΔE 0.062
- Light Eggplant #894585 ΔE 0.076
- Dark Violet #9400D3 ΔE 0.078
- Purple #800080 ΔE 0.086
- Grape #7209B7 ΔE 0.090
Use #942CA6 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.