#C340AE
Closest named color: Purpley Pink (#C83CB9). oklch(59.5% 0.205 334.9), rgb(195, 64, 174).
Aa
Black text reads best on this color (4.66:1).
About this color
#C340AE is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.205 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.020 away. Black text reads best on it, at 4.66:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.205) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.66:1 |
| White text | 4.50:1 |
Values
| HEX | #C340AE |
| RGB | rgb(195, 64, 174) |
| HSL | hsl(310, 52%, 51%) |
| OKLCH | oklch(59.5% 0.205 334.9) |
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 #C340AE | 4.50:1 | AA | Lc -75.8 | Fine for body text |
| Black text on #C340AE | 4.66:1 | AA | Lc 33.8 | Non-text elements, placeholder text |
| #C340AE text on white | 4.50:1 | AA | Lc 70.3 | Content text, not long reading |
| #C340AE text on black | 4.66:1 | AA | Lc -31.4 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#FCF2F9
oklch(97.1% 0.014 336.1)
-
Step 100
100
#F7E3F2
oklch(93.6% 0.029 334.4)
-
Step 200
200
#F1CCE8
oklch(88.5% 0.055 334.6)
-
Step 300
300
#E9A8DA
oklch(80.8% 0.1 335)
-
Step 400
400
#DC76C8
oklch(70.7% 0.161 334.9)
-
Step 500
500 (this color)
#C340AE
oklch(59.5% 0.205 334.9)
-
Step 600
600
#BB25A5
oklch(55.6% 0.223 335.2)
-
Step 700
700
#A0138E
oklch(49% 0.207 334.7)
-
Step 800
800
#821673
oklch(42.6% 0.172 334.8)
-
Step 900
900
#691C5D
oklch(37.7% 0.134 334.9)
-
Step 950
950
#3E1237
oklch(27% 0.086 334.5)
#C340AE 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) | #3F6AB1 | 0.220 |
| Deuteranopia (no green cones) | #6B7EAB | 0.190 |
| Tritanopia (no blue cones) | #CC4971 | 0.103 |
| Achromatopsia (no color) | #777777 | 0.206 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C340AE
#C340AE
oklch(59.5% 0.205 334.9)
- #009756
#009756
oklch(59.4% 0.147 155.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 #C340AE, closest first.
No curated palette has a color within ΔE 0.04 of #C340AE.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.020
- Pinky Purple #C94CBE ΔE 0.032
- Medium Orchid #BA55D3 ΔE 0.063
- Medium Violet Red #C71585 ΔE 0.071
- Purply #983FB2 ΔE 0.085
- Purple Pink #D725DE ΔE 0.086
- Amethyst #9B5FC0 ΔE 0.089
- Pale Magenta #D767AD ΔE 0.090
Use #C340AE 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.