#DC8AF2

Closest named color: Violet (#EE82EE). oklch(75.5% 0.167 318.9), rgb(220, 138, 242).

Aa

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

About this color

#DC8AF2 is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.167 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.033 away. Black text reads best on it, at 8.96:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.167)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.96:1
White text2.34:1

Values

HEX#DC8AF2
RGBrgb(220, 138, 242)
HSLhsl(287, 80%, 75%)
OKLCHoklch(75.5% 0.167 318.9)

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 #DC8AF2 2.34:1 Fails Lc -50.9 Large or bold text, headings
Black text on #DC8AF2 8.96:1 AAA Lc 58.0 Large or bold text, headings
#DC8AF2 text on white 2.34:1 Fails Lc 46.0 Large or bold text, headings
#DC8AF2 text on black 8.96:1 AAA Lc -56.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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #EACEF2

    oklch(88.6% 0.057 318.7)

  4. Step 300

    300

    #DEABEC

    oklch(80.9% 0.105 318.9)

  5. Step 400

    400 (this color)

    #DC8AF2

    oklch(75.5% 0.167 318.9)

  6. Step 500

    500

    #BE53D9

    oklch(63.2% 0.213 319)

  7. Step 600

    600

    #A92EC6

    oklch(55.5% 0.231 319)

  8. Step 700

    700

    #911EAB

    oklch(49.1% 0.215 319.1)

  9. Step 800

    800

    #761D8B

    oklch(42.7% 0.179 319)

  10. Step 900

    900

    #5F206F

    oklch(37.6% 0.139 318.8)

  11. Step 950

    950

    #381441

    oklch(26.9% 0.089 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#DC8AF2 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)#7AA4F60.146
Deuteranopia (no green cones)#90ACEF0.132
Tritanopia (no blue cones)#DD97B30.106
Achromatopsia (no color)#A9A9A90.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC8AF2

    #DC8AF2

    oklch(75.5% 0.167 318.9)

  • #74C85B

    #74C85B

    oklch(75.5% 0.167 139)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC8AF2

    #DC8AF2

    oklch(75.5% 0.167 318.9)

  • #ADA0FF

    #ADA0FF

    oklch(75.4% 0.135 289)

  • #FB7FC0

    #FB7FC0

    oklch(75.5% 0.167 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #DC8AF2

    #DC8AF2

    oklch(75.5% 0.167 318.9)

  • #B9B700

    #B9B700

    oklch(75.6% 0.164 109)

  • #00CD9F

    #00CD9F

    oklch(75.4% 0.151 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC8AF2

    #DC8AF2

    oklch(75.5% 0.167 318.9)

  • #E4A100

    #E4A100

    oklch(75.4% 0.157 78.7)

  • #00C8CE

    #00C8CE

    oklch(75.6% 0.129 198.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC8AF2

    #DC8AF2

    oklch(75.5% 0.167 318.9)

  • #FF8D49

    #FF8D49

    oklch(75.6% 0.16 49.1)

  • #74C85B

    #74C85B

    oklch(75.5% 0.167 139)

  • #00C0FA

    #00C0FA

    oklch(75.5% 0.149 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 #DC8AF2, closest first.

Similar named colors

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

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