#D27FE7

Closest named color: Lavender Pink (#DD85D7). oklch(72.2% 0.168 319.3), rgb(210, 127, 231).

Aa

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

About this color

#D27FE7 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.168 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.037 away. Black text reads best on it, at 7.92:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.168)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text7.92:1
White text2.64:1

Values

HEX#D27FE7
RGBrgb(210, 127, 231)
HSLhsl(288, 68%, 70%)
OKLCHoklch(72.2% 0.168 319.3)

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 #D27FE7 2.64:1 Fails Lc -56.4 Large or bold text, headings
Black text on #D27FE7 7.92:1 AAA Lc 52.8 Large or bold text, headings
#D27FE7 text on white 2.64:1 Fails Lc 51.3 Large or bold text, headings
#D27FE7 text on black 7.92:1 AAA Lc -50.6 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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #EBCDF2

    oklch(88.5% 0.059 319.8)

  4. Step 300

    300

    #DEABEC

    oklch(80.9% 0.105 318.9)

  5. Step 400

    400 (this color)

    #D27FE7

    oklch(72.2% 0.168 319.3)

  6. Step 500

    500

    #BF52D9

    oklch(63.2% 0.214 319.4)

  7. Step 600

    600

    #AA2CC7

    oklch(55.6% 0.235 319.1)

  8. Step 700

    700

    #921BAC

    oklch(49.1% 0.218 319.2)

  9. Step 800

    800

    #761C8B

    oklch(42.7% 0.18 319)

  10. Step 900

    900

    #601F6F

    oklch(37.7% 0.141 319.5)

  11. Step 950

    950

    #381441

    oklch(26.9% 0.089 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#D27FE7 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)#6F99EB0.149
Deuteranopia (no green cones)#86A2E40.135
Tritanopia (no blue cones)#D38DA80.108
Achromatopsia (no color)#9F9F9F0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #D27FE7

    #D27FE7

    oklch(72.2% 0.168 319.3)

  • #68BE50

    #68BE50

    oklch(72.3% 0.169 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D27FE7

    #D27FE7

    oklch(72.2% 0.168 319.3)

  • #A492FF

    #A492FF

    oklch(72.2% 0.155 289.5)

  • #F074B5

    #F074B5

    oklch(72.2% 0.168 349.5)

Open the analogous palette in the generator

Split complementary

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

  • #D27FE7

    #D27FE7

    oklch(72.2% 0.168 319.3)

  • #ADAC00

    #ADAC00

    oklch(72.1% 0.157 109.3)

  • #00C296

    #00C296

    oklch(72.4% 0.145 169.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D27FE7

    #D27FE7

    oklch(72.2% 0.168 319.3)

  • #D79800

    #D79800

    oklch(72.2% 0.15 79)

  • #00BCC3

    #00BCC3

    oklch(72.3% 0.123 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D27FE7

    #D27FE7

    oklch(72.2% 0.168 319.3)

  • #F78034

    #F78034

    oklch(72.3% 0.169 49.3)

  • #68BE50

    #68BE50

    oklch(72.3% 0.169 139.3)

  • #00B5EC

    #00B5EC

    oklch(72.3% 0.142 229)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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