#D271F8

Closest named color: Easter Purple (#C071FE). oklch(71.1% 0.208 315.5), rgb(210, 113, 248).

Aa

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

About this color

#D271F8 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.208 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.45:1.

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

Values

HEX#D271F8
RGBrgb(210, 113, 248)
HSLhsl(283, 91%, 71%)
OKLCHoklch(71.1% 0.208 315.5)

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 #D271F8 2.81:1 Fails Lc -58.9 Large or bold text, headings
Black text on #D271F8 7.45:1 AAA Lc 50.4 Large or bold text, headings
#D271F8 text on white 2.81:1 Fails Lc 53.6 Large or bold text, headings
#D271F8 text on black 7.45:1 AAA Lc -48.2 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

    #E1A6FA

    oklch(80.9% 0.131 315.5)

  5. Step 400

    400 (this color)

    #D271F8

    oklch(71.1% 0.208 315.5)

  6. Step 500

    500

    #C43BF3

    oklch(63.2% 0.266 315.6)

  7. Step 600

    600

    #AC00DB

    oklch(55.5% 0.273 315.5)

  8. Step 700

    700

    #9200BA

    oklch(49.2% 0.241 315.7)

  9. Step 800

    800

    #78009A

    oklch(42.7% 0.21 315.5)

  10. Step 900

    900

    #630E7E

    oklch(37.8% 0.173 315.6)

  11. Step 950

    950

    #3A0D4A

    oklch(27% 0.11 315.4)

Export this scale for Tailwind in the Tailwind colors tool

#D271F8 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)#5094FC0.187
Deuteranopia (no green cones)#719DF50.165
Tritanopia (no blue cones)#D087AA0.137
Achromatopsia (no color)#9A9A9A0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #D271F8

    #D271F8

    oklch(71.1% 0.208 315.5)

  • #60BC08

    #60BC08

    oklch(71% 0.207 135.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D271F8

    #D271F8

    oklch(71.1% 0.208 315.5)

  • #9A91FF

    #9A91FF

    oklch(71.2% 0.157 285.4)

  • #F760BE

    #F760BE

    oklch(71% 0.208 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #D271F8

    #D271F8

    oklch(71.1% 0.208 315.5)

  • #B0A600

    #B0A600

    oklch(71.1% 0.151 105.3)

  • #00BE8B

    #00BE8B

    oklch(71% 0.148 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D271F8

    #D271F8

    oklch(71.1% 0.208 315.5)

  • #D79200

    #D79200

    oklch(71.1% 0.15 75.3)

  • #00B9BA

    #00B9BA

    oklch(71.2% 0.121 195.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D271F8

    #D271F8

    oklch(71.1% 0.208 315.5)

  • #FF7119

    #FF7119

    oklch(71.1% 0.193 45.6)

  • #60BC08

    #60BC08

    oklch(71% 0.207 135.5)

  • #00B2E1

    #00B2E1

    oklch(71.1% 0.135 225.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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