#D271EE

Closest named color: Light Purple (#BF77F6). oklch(70.6% 0.198 318.2), rgb(210, 113, 238).

Aa

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

About this color

#D271EE is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.198 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.035 away. Black text reads best on it, at 7.33:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.198)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.33:1
White text2.86:1

Values

HEX#D271EE
RGBrgb(210, 113, 238)
HSLhsl(287, 79%, 69%)
OKLCHoklch(70.6% 0.198 318.2)

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 #D271EE 2.86:1 Fails Lc -59.6 Large or bold text, headings
Black text on #D271EE 7.33:1 AAA Lc 49.7 Large or bold text, headings
#D271EE text on white 2.86:1 Fails Lc 54.3 Large or bold text, headings
#D271EE text on black 7.33:1 AAA Lc -47.5 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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #EDCBF7

    oklch(88.4% 0.07 318.5)

  4. Step 300

    300

    #E2A7F4

    oklch(80.9% 0.123 318.1)

  5. Step 400

    400 (this color)

    #D271EE

    oklch(70.6% 0.198 318.2)

  6. Step 500

    500

    #C540E9

    oklch(63.1% 0.253 318)

  7. Step 600

    600

    #B000D5

    oklch(55.7% 0.27 318.2)

  8. Step 700

    700

    #9400B4

    oklch(49% 0.238 318.1)

  9. Step 800

    800

    #7A0095

    oklch(42.6% 0.207 318)

  10. Step 900

    900

    #641278

    oklch(37.8% 0.165 318.4)

  11. Step 950

    950

    #3A0F46

    oklch(27% 0.103 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#D271EE 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)#5892F20.181
Deuteranopia (no green cones)#779CEB0.160
Tritanopia (no blue cones)#D284A50.127
Achromatopsia (no color)#9999990.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #D271EE

    #D271EE

    oklch(70.6% 0.198 318.2)

  • #58BB2D

    #58BB2D

    oklch(70.5% 0.198 138.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D271EE

    #D271EE

    oklch(70.6% 0.198 318.2)

  • #9D8CFF

    #9D8CFF

    oklch(70.5% 0.164 288.2)

  • #F462B5

    #F462B5

    oklch(70.5% 0.198 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #D271EE

    #D271EE

    oklch(70.6% 0.198 318.2)

  • #AAA600

    #AAA600

    oklch(70.5% 0.152 108)

  • #00BC8F

    #00BC8F

    oklch(70.6% 0.143 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D271EE

    #D271EE

    oklch(70.6% 0.198 318.2)

  • #D19300

    #D19300

    oklch(70.6% 0.147 78.6)

  • #00B6BB

    #00B6BB

    oklch(70.5% 0.12 198.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D271EE

    #D271EE

    oklch(70.6% 0.198 318.2)

  • #FB7200

    #FB7200

    oklch(70.6% 0.192 48.2)

  • #58BB2D

    #58BB2D

    oklch(70.5% 0.198 138.2)

  • #00AFE3

    #00AFE3

    oklch(70.4% 0.138 228.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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