#D28AF2

Closest named color: Liliac (#C48EFD). oklch(74.5% 0.162 314.8), rgb(210, 138, 242).

Aa

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

About this color

#D28AF2 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.162 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.027 away. Black text reads best on it, at 8.65:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.162)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.65:1
White text2.42:1

Values

HEX#D28AF2
RGBrgb(210, 138, 242)
HSLhsl(282, 80%, 75%)
OKLCHoklch(74.5% 0.162 314.8)

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 #D28AF2 2.42:1 Fails Lc -52.5 Large or bold text, headings
Black text on #D28AF2 8.65:1 AAA Lc 56.5 Large or bold text, headings
#D28AF2 text on white 2.42:1 Fails Lc 47.5 Large or bold text, headings
#D28AF2 text on black 8.65:1 AAA Lc -54.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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E4F8

    oklch(93.5% 0.03 314)

  3. Step 200

    200

    #E7CFF3

    oklch(88.5% 0.055 314.5)

  4. Step 300

    300

    #D9ADEE

    oklch(80.9% 0.101 314.6)

  5. Step 400

    400 (this color)

    #D28AF2

    oklch(74.5% 0.162 314.8)

  6. Step 500

    500

    #B758DD

    oklch(63.1% 0.207 315.1)

  7. Step 600

    600

    #A236CB

    oklch(55.6% 0.225 314.8)

  8. Step 700

    700

    #8B26B0

    oklch(49.2% 0.21 314.8)

  9. Step 800

    800

    #71238E

    oklch(42.8% 0.173 315)

  10. Step 900

    900

    #5B2372

    oklch(37.6% 0.136 314.5)

  11. Step 950

    950

    #361643

    oklch(27.1% 0.087 315)

Export this scale for Tailwind in the Tailwind colors tool

#D28AF2 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)#77A2F60.134
Deuteranopia (no green cones)#8AA8EF0.122
Tritanopia (no blue cones)#D099B30.109
Achromatopsia (no color)#A6A6A60.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #D28AF2

    #D28AF2

    oklch(74.5% 0.162 314.8)

  • #7EC251

    #7EC251

    oklch(74.4% 0.162 134.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D28AF2

    #D28AF2

    oklch(74.5% 0.162 314.8)

  • #A49FFF

    #A49FFF

    oklch(74.5% 0.137 284.9)

  • #F27EC4

    #F27EC4

    oklch(74.4% 0.163 344.7)

Open the analogous palette in the generator

Split complementary

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

  • #D28AF2

    #D28AF2

    oklch(74.5% 0.162 314.8)

  • #BCB000

    #BCB000

    oklch(74.4% 0.158 104.7)

  • #00CA93

    #00CA93

    oklch(74.3% 0.156 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D28AF2

    #D28AF2

    oklch(74.5% 0.162 314.8)

  • #E59B00

    #E59B00

    oklch(74.4% 0.157 74.9)

  • #00C5C5

    #00C5C5

    oklch(74.6% 0.127 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D28AF2

    #D28AF2

    oklch(74.5% 0.162 314.8)

  • #FE864D

    #FE864D

    oklch(74.4% 0.162 44.6)

  • #7EC251

    #7EC251

    oklch(74.4% 0.162 134.7)

  • #00BEEE

    #00BEEE

    oklch(74.5% 0.14 224.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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