#D271E8

Closest named color: Orchid (#DA70D6). oklch(70.3% 0.192 320), rgb(210, 113, 232).

Aa

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

About this color

#D271E8 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.192 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.030 away. Black text reads best on it, at 7.26:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.192)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.26:1
White text2.88:1

Values

HEX#D271E8
RGBrgb(210, 113, 232)
HSLhsl(289, 72%, 68%)
OKLCHoklch(70.3% 0.192 320)

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 #D271E8 2.88:1 Fails Lc -60.0 Content text, not long reading
Black text on #D271E8 7.26:1 AAA Lc 49.3 Large or bold text, headings
#D271E8 text on white 2.88:1 Fails Lc 54.7 Large or bold text, headings
#D271E8 text on black 7.26:1 AAA Lc -47.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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F5E3F9

    oklch(93.7% 0.035 320.1)

  3. Step 200

    200

    #EDCCF5

    oklch(88.6% 0.066 319.6)

  4. Step 300

    300

    #E3A7F1

    oklch(80.9% 0.12 319.9)

  5. Step 400

    400 (this color)

    #D271E8

    oklch(70.3% 0.192 320)

  6. Step 500

    500

    #C642E3

    oklch(63% 0.246 319.7)

  7. Step 600

    600

    #B201D0

    oklch(55.6% 0.266 320.1)

  8. Step 700

    700

    #9600B0

    oklch(49% 0.235 320)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #641574

    oklch(37.7% 0.159 320.1)

  11. Step 950

    950

    #3B0F44

    oklch(27% 0.102 320.3)

Export this scale for Tailwind in the Tailwind colors tool

#D271E8 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)#5C91EC0.177
Deuteranopia (no green cones)#7A9BE50.157
Tritanopia (no blue cones)#D382A20.121
Achromatopsia (no color)#9898980.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #D271E8

    #D271E8

    oklch(70.3% 0.192 320)

  • #53BA39

    #53BA39

    oklch(70.2% 0.191 140)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D271E8

    #D271E8

    oklch(70.3% 0.192 320)

  • #9F89FF

    #9F89FF

    oklch(70.1% 0.168 289.9)

  • #F263B0

    #F263B0

    oklch(70.2% 0.192 349.8)

Open the analogous palette in the generator

Split complementary

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

  • #D271E8

    #D271E8

    oklch(70.3% 0.192 320)

  • #A6A600

    #A6A600

    oklch(70.2% 0.153 109.8)

  • #00BA92

    #00BA92

    oklch(70.2% 0.139 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D271E8

    #D271E8

    oklch(70.3% 0.192 320)

  • #CE9300

    #CE9300

    oklch(70.2% 0.146 79.9)

  • #00B5BC

    #00B5BC

    oklch(70.3% 0.119 199.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D271E8

    #D271E8

    oklch(70.3% 0.192 320)

  • #F77400

    #F77400

    oklch(70.3% 0.186 49.8)

  • #53BA39

    #53BA39

    oklch(70.2% 0.191 140)

  • #00AEE5

    #00AEE5

    oklch(70.3% 0.14 229.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D271E8.

Similar named colors

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

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