#CA40CB
Closest named color: Purpley Pink (#C83CB9). oklch(62% 0.231 327.6), rgb(202, 64, 203).
Aa
Black text reads best on this color (5.10:1).
About this color
#CA40CB is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.231 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.027 away. Black text reads best on it, at 5.10:1.
| Hue family | Purples |
| Lightness | medium-light (62%) |
| Chroma | vivid (0.231) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 5.10:1 |
| White text | 4.11:1 |
Values
| HEX | #CA40CB |
| RGB | rgb(202, 64, 203) |
| HSL | hsl(300, 57%, 52%) |
| OKLCH | oklch(62% 0.231 327.6) |
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 #CA40CB | 4.11:1 | AA large text | Lc -72.7 | Content text, not long reading |
| Black text on #CA40CB | 5.10:1 | AA | Lc 36.9 | Non-text elements, placeholder text |
| #CA40CB text on white | 4.11:1 | AA large text | Lc 67.2 | Content text, not long reading |
| #CA40CB text on black | 5.10:1 | AA | Lc -34.5 | 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
#FBF2FB
oklch(97.1% 0.015 325.7)
-
Step 100
100
#F6E3F5
oklch(93.6% 0.031 327.4)
-
Step 200
200
#F0CBEF
oklch(88.4% 0.063 326.9)
-
Step 300
300
#E8A6E6
oklch(80.8% 0.114 327.6)
-
Step 400
400
#DA72D9
oklch(70.6% 0.181 327.6)
-
Step 500
500 (this color)
#CA40CB
oklch(62% 0.231 327.6)
-
Step 600
600
#B90EBB
oklch(55.6% 0.25 327.7)
-
Step 700
700
#9E00A0
oklch(49.2% 0.227 327.7)
-
Step 800
800
#810683
oklch(42.7% 0.193 327.5)
-
Step 900
900
#681669
oklch(37.7% 0.15 327.5)
-
Step 950
950
#3D103E
oklch(27% 0.095 326.9)
#CA40CB 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) | #2872CF | 0.244 |
| Deuteranopia (no green cones) | #6383C7 | 0.206 |
| Tritanopia (no blue cones) | #D05481 | 0.129 |
| Achromatopsia (no color) | #7D7D7D | 0.233 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CA40CB
#CA40CB
oklch(62% 0.231 327.6)
- #00A23E
#00A23E
oklch(62.1% 0.181 147.7)
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 #CA40CB, closest first.
No curated palette has a color within ΔE 0.04 of #CA40CB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.027
- Pinky Purple #C94CBE ΔE 0.030
- Medium Orchid #BA55D3 ΔE 0.043
- Purple Pink #D725DE ΔE 0.045
- Heliotrope #D94FF5 ΔE 0.070
- Pink Purple #EF1DE7 ΔE 0.081
- Hot Purple #CB00F5 ΔE 0.081
- Bright Lilac #C95EFB ΔE 0.082
Use #CA40CB 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.