#C340AF
Closest named color: Purpley Pink (#C83CB9). oklch(59.5% 0.206 334.5), rgb(195, 64, 175).
Aa
Black text reads best on this color (4.67:1).
About this color
#C340AF is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.206 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.019 away. Black text reads best on it, at 4.67:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.206) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.67:1 |
| White text | 4.49:1 |
Values
| HEX | #C340AF |
| RGB | rgb(195, 64, 175) |
| HSL | hsl(309, 52%, 51%) |
| OKLCH | oklch(59.5% 0.206 334.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 #C340AF | 4.49:1 | AA large text | Lc -75.7 | Fine for body text |
| Black text on #C340AF | 4.67:1 | AA | Lc 33.9 | Non-text elements, placeholder text |
| #C340AF text on white | 4.49:1 | AA large text | Lc 70.2 | Content text, not long reading |
| #C340AF text on black | 4.67: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
#E9A8DB
oklch(80.9% 0.101 334.4)
-
Step 400
400
#DC76C9
oklch(70.7% 0.162 334.5)
-
Step 500
500 (this color)
#C340AF
oklch(59.5% 0.206 334.5)
-
Step 600
600
#BA25A6
oklch(55.5% 0.223 334.6)
-
Step 700
700
#A0138F
oklch(49.1% 0.208 334.3)
-
Step 800
800
#821674
oklch(42.7% 0.172 334.4)
-
Step 900
900
#691C5E
oklch(37.7% 0.135 334.2)
-
Step 950
950
#3E1237
oklch(27% 0.086 334.5)
#C340AF 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) | #3F6AB2 | 0.220 |
| Deuteranopia (no green cones) | #6B7EAC | 0.190 |
| Tritanopia (no blue cones) | #CC4A72 | 0.104 |
| Achromatopsia (no color) | #777777 | 0.207 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C340AF
#C340AF
oklch(59.5% 0.206 334.5)
- #009855
#009855
oklch(59.7% 0.149 154.6)
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 #C340AF, closest first.
No curated palette has a color within ΔE 0.04 of #C340AF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.019
- Pinky Purple #C94CBE ΔE 0.031
- Medium Orchid #BA55D3 ΔE 0.062
- Medium Violet Red #C71585 ΔE 0.072
- Purple Pink #D725DE ΔE 0.084
- Purply #983FB2 ΔE 0.085
- Amethyst #9B5FC0 ΔE 0.089
- Pale Magenta #D767AD ΔE 0.091
Use #C340AF 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.