#D271C2
Closest named color: Orchid (#DA70D6). oklch(68.5% 0.157 333.6), rgb(210, 113, 194).
Aa
Black text reads best on this color (6.88:1).
About this color
#D271C2 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.157 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.033 away. Black text reads best on it, at 6.88:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.157) |
| Temperature | in between |
| Nearest name | Orchid (#DA70D6) |
| Black text | 6.88:1 |
| White text | 3.05:1 |
Values
| HEX | #D271C2 |
| RGB | rgb(210, 113, 194) |
| HSL | hsl(310, 52%, 63%) |
| OKLCH | oklch(68.5% 0.157 333.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 #D271C2 | 3.05:1 | AA large text | Lc -62.4 | Content text, not long reading |
| Black text on #D271C2 | 6.88:1 | AA | Lc 47.1 | Large or bold text, headings |
| #D271C2 text on white | 3.05:1 | AA large text | Lc 57.0 | Large or bold text, headings |
| #D271C2 text on black | 6.88:1 | AA | Lc -44.8 | 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 400.
-
Step 50
50
#FBF2F9
oklch(97% 0.013 333)
-
Step 100
100
#F6E3F2
oklch(93.5% 0.029 332.8)
-
Step 200
200
#F0CCE8
oklch(88.4% 0.055 333.8)
-
Step 300
300
#E8A9DB
oklch(80.9% 0.098 334)
-
Step 400
400 (this color)
#D271C2
oklch(68.5% 0.157 333.6)
-
Step 500
500
#CD4FBB
oklch(63.1% 0.201 333.7)
-
Step 600
600
#B82AA7
oklch(55.6% 0.218 333.6)
-
Step 700
700
#9E1A8F
oklch(49.1% 0.202 333.7)
-
Step 800
800
#801A74
oklch(42.6% 0.168 333.5)
-
Step 900
900
#681E5E
oklch(37.8% 0.131 333.7)
-
Step 950
950
#3D1337
oklch(27% 0.083 333.6)
#D271C2 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) | #708BC5 | 0.157 |
| Deuteranopia (no green cones) | #8A99BF | 0.143 |
| Tritanopia (no blue cones) | #DA7691 | 0.079 |
| Achromatopsia (no color) | #949494 | 0.158 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D271C2
#D271C2
oklch(68.5% 0.157 333.6)
- #30B56A
#30B56A
oklch(68.5% 0.158 153.5)
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 #D271C2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Orchid #DA70D6 ΔE 0.033
- Pale Magenta #D767AD ΔE 0.033
- Lavender Pink #DD85D7 ΔE 0.054
- Pale Violet Red #DB7093 ΔE 0.072
- Wisteria #A87DC2 ΔE 0.073
- Purply Pink #F075E6 ΔE 0.074
- Pinky Purple #C94CBE ΔE 0.078
- Pale Purple #B790D4 ΔE 0.079
Use #D271C2 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.