#DA7EF2

Closest named color: Violet (#EE82EE). oklch(73.5% 0.185 319.1), rgb(218, 126, 242).

Aa

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

About this color

#DA7EF2 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.185 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.038 away. Black text reads best on it, at 8.24:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.185)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.24:1
White text2.54:1

Values

HEX#DA7EF2
RGBrgb(218, 126, 242)
HSLhsl(288, 82%, 72%)
OKLCHoklch(73.5% 0.185 319.1)

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 #DA7EF2 2.54:1 Fails Lc -54.6 Large or bold text, headings
Black text on #DA7EF2 8.24:1 AAA Lc 54.5 Large or bold text, headings
#DA7EF2 text on white 2.54:1 Fails Lc 49.5 Large or bold text, headings
#DA7EF2 text on black 8.24:1 AAA Lc -52.4 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

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #ECCCF5

    oklch(88.5% 0.065 318.8)

  4. Step 300

    300

    #E1A8F0

    oklch(80.8% 0.116 319.1)

  5. Step 400

    400 (this color)

    #DA7EF2

    oklch(73.5% 0.185 319.1)

  6. Step 500

    500

    #C348E1

    oklch(63.1% 0.236 319.1)

  7. Step 600

    600

    #AF16CF

    oklch(55.6% 0.258 319.2)

  8. Step 700

    700

    #9500B2

    oklch(49% 0.236 319)

  9. Step 800

    800

    #7A0B91

    oklch(42.7% 0.198 319.2)

  10. Step 900

    900

    #621974

    oklch(37.7% 0.154 318.7)

  11. Step 950

    950

    #3A1144

    oklch(27.1% 0.098 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#DA7EF2 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)#6A9CF60.167
Deuteranopia (no green cones)#85A5EF0.149
Tritanopia (no blue cones)#DB8EAD0.118
Achromatopsia (no color)#A2A2A20.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #DA7EF2

    #DA7EF2

    oklch(73.5% 0.185 319.1)

  • #65C447

    #65C447

    oklch(73.6% 0.186 139)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DA7EF2

    #DA7EF2

    oklch(73.5% 0.185 319.1)

  • #A798FF

    #A798FF

    oklch(73.5% 0.147 288.9)

  • #FB71BB

    #FB71BB

    oklch(73.5% 0.186 349.3)

Open the analogous palette in the generator

Split complementary

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

  • #DA7EF2

    #DA7EF2

    oklch(73.5% 0.185 319.1)

  • #B2B000

    #B2B000

    oklch(73.5% 0.159 108.9)

  • #00C699

    #00C699

    oklch(73.5% 0.147 169)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DA7EF2

    #DA7EF2

    oklch(73.5% 0.185 319.1)

  • #DC9C00

    #DC9C00

    oklch(73.6% 0.153 79.2)

  • #00C0C7

    #00C0C7

    oklch(73.4% 0.125 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DA7EF2

    #DA7EF2

    oklch(73.5% 0.185 319.1)

  • #FF812F

    #FF812F

    oklch(73.5% 0.177 49)

  • #65C447

    #65C447

    oklch(73.6% 0.186 139)

  • #00B9F1

    #00B9F1

    oklch(73.5% 0.145 228.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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