#D271F7

Closest named color: Easter Purple (#C071FE). oklch(71% 0.207 315.8), rgb(210, 113, 247).

Aa

Black text reads best on this color (7.44:1).

About this color

#D271F7 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.207 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Easter Purple (#C071FE), ΔE 0.033 away. Black text reads best on it, at 7.44:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.207)
Temperaturein between
Nearest nameEaster Purple (#C071FE)
Black text7.44:1
White text2.82:1

Values

HEX#D271F7
RGBrgb(210, 113, 247)
HSLhsl(283, 89%, 71%)
OKLCHoklch(71% 0.207 315.8)

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 #D271F7 2.82:1 Fails Lc -59.0 Large or bold text, headings
Black text on #D271F7 7.44:1 AAA Lc 50.3 Large or bold text, headings
#D271F7 text on white 2.82:1 Fails Lc 53.7 Large or bold text, headings
#D271F7 text on black 7.44:1 AAA Lc -48.1 Large or bold text, headings

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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F4E3FB

    oklch(93.6% 0.037 316.2)

  3. Step 200

    200

    #ECCBFA

    oklch(88.5% 0.073 315.8)

  4. Step 300

    300

    #E1A6F9

    oklch(80.9% 0.13 315.9)

  5. Step 400

    400 (this color)

    #D271F7

    oklch(71% 0.207 315.8)

  6. Step 500

    500

    #C43BF2

    oklch(63.2% 0.265 315.8)

  7. Step 600

    600

    #AD00DB

    oklch(55.7% 0.273 315.8)

  8. Step 700

    700

    #9200B9

    oklch(49.1% 0.241 315.9)

  9. Step 800

    800

    #780099

    oklch(42.6% 0.209 315.8)

  10. Step 900

    900

    #630E7D

    oklch(37.7% 0.172 316)

  11. Step 950

    950

    #3A0D49

    oklch(27% 0.109 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#D271F7 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)#5194FB0.186
Deuteranopia (no green cones)#729DF40.165
Tritanopia (no blue cones)#D087AA0.136
Achromatopsia (no color)#9A9A9A0.208

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #D271F7

    #D271F7

    oklch(71% 0.207 315.8)

  • #5FBC0F

    #5FBC0F

    oklch(71% 0.207 135.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D271F7

    #D271F7

    oklch(71% 0.207 315.8)

  • #9A90FF

    #9A90FF

    oklch(71% 0.159 285.7)

  • #F761BD

    #F761BD

    oklch(71.1% 0.206 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #D271F7

    #D271F7

    oklch(71% 0.207 315.8)

  • #AFA600

    #AFA600

    oklch(71% 0.151 105.8)

  • #00BE8C

    #00BE8C

    oklch(71.1% 0.148 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D271F7

    #D271F7

    oklch(71% 0.207 315.8)

  • #D69200

    #D69200

    oklch(71% 0.149 75.8)

  • #00B8BA

    #00B8BA

    oklch(70.9% 0.121 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D271F7

    #D271F7

    oklch(71% 0.207 315.8)

  • #FF7115

    #FF7115

    oklch(71.1% 0.194 45.9)

  • #5FBC0F

    #5FBC0F

    oklch(71% 0.207 135.8)

  • #00B2E2

    #00B2E2

    oklch(71.1% 0.136 225.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D271F7, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

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