#D271E4

Closest named color: Orchid (#DA70D6). oklch(70.1% 0.188 321.2), rgb(210, 113, 228).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.188)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.22:1
White text2.90:1

Values

HEX#D271E4
RGBrgb(210, 113, 228)
HSLhsl(291, 68%, 67%)
OKLCHoklch(70.1% 0.188 321.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 #D271E4 2.90:1 Fails Lc -60.3 Content text, not long reading
Black text on #D271E4 7.22:1 AAA Lc 49.0 Large or bold text, headings
#D271E4 text on white 2.90:1 Fails Lc 55.0 Large or bold text, headings
#D271E4 text on black 7.22:1 AAA Lc -46.8 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

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F5E3F8

    oklch(93.6% 0.034 321.4)

  3. Step 200

    200

    #EECCF4

    oklch(88.6% 0.065 321.2)

  4. Step 300

    300

    #E4A7EF

    oklch(80.9% 0.118 321.2)

  5. Step 400

    400 (this color)

    #D271E4

    oklch(70.1% 0.188 321.2)

  6. Step 500

    500

    #C744DE

    oklch(63.1% 0.24 321.3)

  7. Step 600

    600

    #B30ACC

    oklch(55.7% 0.261 321.3)

  8. Step 700

    700

    #9800AE

    oklch(49.2% 0.235 321.2)

  9. Step 800

    800

    #7D048F

    oklch(42.8% 0.201 321.3)

  10. Step 900

    900

    #651672

    oklch(37.8% 0.157 321.5)

  11. Step 950

    950

    #3B1043

    oklch(27% 0.099 321)

Export this scale for Tailwind in the Tailwind colors tool

#D271E4 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)#5E90E80.176
Deuteranopia (no green cones)#7C9BE10.156
Tritanopia (no blue cones)#D480A00.116
Achromatopsia (no color)#9797970.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #D271E4

    #D271E4

    oklch(70.1% 0.188 321.2)

  • #50BA40

    #50BA40

    oklch(70.1% 0.188 141.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D271E4

    #D271E4

    oklch(70.1% 0.188 321.2)

  • #A188FF

    #A188FF

    oklch(70.1% 0.17 291)

  • #F164AC

    #F164AC

    oklch(70% 0.188 351.3)

Open the analogous palette in the generator

Split complementary

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

  • #D271E4

    #D271E4

    oklch(70.1% 0.188 321.2)

  • #A3A600

    #A3A600

    oklch(69.9% 0.154 111.1)

  • #00B993

    #00B993

    oklch(69.9% 0.137 171.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D271E4

    #D271E4

    oklch(70.1% 0.188 321.2)

  • #CC9300

    #CC9300

    oklch(70% 0.145 80.9)

  • #00B4BD

    #00B4BD

    oklch(70% 0.119 201.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D271E4

    #D271E4

    oklch(70.1% 0.188 321.2)

  • #F47600

    #F47600

    oklch(70.2% 0.182 51.2)

  • #50BA40

    #50BA40

    oklch(70.1% 0.188 141.2)

  • #00ADE6

    #00ADE6

    oklch(70.1% 0.141 231)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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