#C170BC
Closest named color: Pale Magenta (#D767AD). oklch(66% 0.141 329.3), rgb(193, 112, 188).
Aa
Black text reads best on this color (6.31:1).
About this color
#C170BC is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.141 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.045 away. Black text reads best on it, at 6.31:1.
| Hue family | Purples |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.141) |
| Temperature | in between |
| Nearest name | Pale Magenta (#D767AD) |
| Black text | 6.31:1 |
| White text | 3.32:1 |
Values
| HEX | #C170BC |
| RGB | rgb(193, 112, 188) |
| HSL | hsl(304, 40%, 60%) |
| OKLCH | oklch(66% 0.141 329.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 #C170BC | 3.32:1 | AA large text | Lc -65.9 | Content text, not long reading |
| Black text on #C170BC | 6.31:1 | AA | Lc 43.7 | Non-text elements, placeholder text |
| #C170BC text on white | 3.32:1 | AA large text | Lc 60.4 | Content text, not long reading |
| #C170BC text on black | 6.31:1 | AA | Lc -41.3 | 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
#F9F3F8
oklch(97% 0.009 330.9)
-
Step 100
100
#F2E5F0
oklch(93.5% 0.02 330.7)
-
Step 200
200
#E8D1E6
oklch(88.6% 0.038 328.6)
-
Step 300
300
#DAB1D7
oklch(80.9% 0.069 328.6)
-
Step 400
400
#C787C2
oklch(70.7% 0.11 329.4)
-
Step 500
500 (this color)
#C170BC
oklch(66% 0.141 329.3)
-
Step 600
600
#A24C9E
oklch(55.5% 0.154 329.2)
-
Step 700
700
#8B3D87
oklch(49.1% 0.142 329.5)
-
Step 800
800
#71336E
oklch(42.7% 0.118 329.3)
-
Step 900
900
#5C2D59
oklch(37.7% 0.093 329.6)
-
Step 950
950
#361B34
oklch(27% 0.058 329.8)
#C170BC 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) | #6C86BF | 0.136 |
| Deuteranopia (no green cones) | #8191B9 | 0.124 |
| Tritanopia (no blue cones) | #C6778D | 0.079 |
| Achromatopsia (no color) | #8D8D8D | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C170BC
#C170BC
oklch(66% 0.141 329.3)
- #48AA61
#48AA61
oklch(66.1% 0.141 149.4)
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 #C170BC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Magenta #D767AD ΔE 0.045
- Soft Purple #A66FB5 ΔE 0.048
- Wisteria #A87DC2 ΔE 0.049
- Orchid #DA70D6 ΔE 0.058
- Dark Lilac #9C6DA5 ΔE 0.073
- Pinky Purple #C94CBE ΔE 0.074
- Heather #A484AC ΔE 0.075
- Deep Lilac #966EBD ΔE 0.075
Use #C170BC 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.