#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 familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.157)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text6.88:1
White text3.05:1

Values

HEX#D271C2
RGBrgb(210, 113, 194)
HSLhsl(310, 52%, 63%)
OKLCHoklch(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.

PairWCAG 2ResultAPCAAPCA 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.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #F0CCE8

    oklch(88.4% 0.055 333.8)

  4. Step 300

    300

    #E8A9DB

    oklch(80.9% 0.098 334)

  5. Step 400

    400 (this color)

    #D271C2

    oklch(68.5% 0.157 333.6)

  6. Step 500

    500

    #CD4FBB

    oklch(63.1% 0.201 333.7)

  7. Step 600

    600

    #B82AA7

    oklch(55.6% 0.218 333.6)

  8. Step 700

    700

    #9E1A8F

    oklch(49.1% 0.202 333.7)

  9. Step 800

    800

    #801A74

    oklch(42.6% 0.168 333.5)

  10. Step 900

    900

    #681E5E

    oklch(37.8% 0.131 333.7)

  11. Step 950

    950

    #3D1337

    oklch(27% 0.083 333.6)

Export this scale for Tailwind in the Tailwind colors tool

#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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#708BC50.157
Deuteranopia (no green cones)#8A99BF0.143
Tritanopia (no blue cones)#DA76910.079
Achromatopsia (no color)#9494940.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)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D271C2

    #D271C2

    oklch(68.5% 0.157 333.6)

  • #AF7EE8

    #AF7EE8

    oklch(68.5% 0.158 303.9)

  • #E66B8F

    #E66B8F

    oklch(68.4% 0.156 3.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #D271C2

    #D271C2

    oklch(68.5% 0.157 333.6)

  • #87A924

    #87A924

    oklch(68.6% 0.157 123.6)

  • #00B2A2

    #00B2A2

    oklch(68.6% 0.122 183.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D271C2

    #D271C2

    oklch(68.5% 0.157 333.6)

  • #B79700

    #B79700

    oklch(68.6% 0.14 93.7)

  • #00ACC6

    #00ACC6

    oklch(68.4% 0.12 213.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D271C2

    #D271C2

    oklch(68.5% 0.157 333.6)

  • #DB8100

    #DB8100

    oklch(68.5% 0.156 63.6)

  • #30B56A

    #30B56A

    oklch(68.5% 0.158 153.5)

  • #24A2F2

    #24A2F2

    oklch(68.5% 0.156 243.4)

Open the square palette in the generator

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.

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.