#D340CB
Closest named color: Pinky Purple (#C94CBE). oklch(63.3% 0.235 330.3), rgb(211, 64, 203).
Aa
Black text reads best on this color (5.36:1).
About this color
#D340CB is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.235 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.032 away. Black text reads best on it, at 5.36:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.235) |
| Temperature | in between |
| Nearest name | Pinky Purple (#C94CBE) |
| Black text | 5.36:1 |
| White text | 3.91:1 |
Values
| HEX | #D340CB |
| RGB | rgb(211, 64, 203) |
| HSL | hsl(303, 63%, 54%) |
| OKLCH | oklch(63.3% 0.235 330.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 #D340CB | 3.91:1 | AA large text | Lc -70.9 | Content text, not long reading |
| Black text on #D340CB | 5.36:1 | AA | Lc 38.7 | Non-text elements, placeholder text |
| #D340CB text on white | 3.91:1 | AA large text | Lc 65.4 | Content text, not long reading |
| #D340CB text on black | 5.36:1 | AA | Lc -36.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
#FCF2FA
oklch(97.1% 0.015 332.2)
-
Step 100
100
#F7E2F5
oklch(93.5% 0.034 328.8)
-
Step 200
200
#F2CAED
oklch(88.4% 0.064 330.2)
-
Step 300
300
#EBA5E4
oklch(80.9% 0.116 330.1)
-
Step 400
400
#DE70D6
oklch(70.7% 0.184 330.1)
-
Step 500
500 (this color)
#D340CB
oklch(63.3% 0.235 330.3)
-
Step 600
600
#BD00B6
oklch(55.6% 0.253 330.4)
-
Step 700
700
#A0009A
oklch(49.1% 0.224 330.4)
-
Step 800
800
#84007F
oklch(42.7% 0.194 330.4)
-
Step 900
900
#6B1367
oklch(37.8% 0.153 330.2)
-
Step 950
950
#3F0E3C
oklch(27% 0.098 330.5)
#D340CB 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) | #3174CF | 0.251 |
| Deuteranopia (no green cones) | #6B88C7 | 0.214 |
| Tritanopia (no blue cones) | #DB5281 | 0.127 |
| Achromatopsia (no color) | #818181 | 0.237 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D340CB
#D340CB
oklch(63.3% 0.235 330.3)
- #00A64D
#00A64D
oklch(63.4% 0.174 150.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 #D340CB, closest first.
No curated palette has a color within ΔE 0.04 of #D340CB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pinky Purple #C94CBE ΔE 0.032
- Purpley Pink #C83CB9 ΔE 0.034
- Purple Pink #D725DE ΔE 0.043
- Medium Orchid #BA55D3 ΔE 0.054
- Heliotrope #D94FF5 ΔE 0.065
- Hot Magenta #F504C9 ΔE 0.069
- Pink Purple #EF1DE7 ΔE 0.069
- Bright Lilac #C95EFB ΔE 0.083
Use #D340CB 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.