#DC8AF1

Closest named color: Violet (#EE82EE). oklch(75.5% 0.166 319.2), rgb(220, 138, 241).

Aa

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

About this color

#DC8AF1 is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.166 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.94:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.166)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.94:1
White text2.34:1

Values

HEX#DC8AF1
RGBrgb(220, 138, 241)
HSLhsl(288, 79%, 74%)
OKLCHoklch(75.5% 0.166 319.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 #DC8AF1 2.34:1 Fails Lc -50.9 Large or bold text, headings
Black text on #DC8AF1 8.94:1 AAA Lc 58.0 Large or bold text, headings
#DC8AF1 text on white 2.34:1 Fails Lc 46.0 Large or bold text, headings
#DC8AF1 text on black 8.94: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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  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

    #DEABEB

    oklch(80.9% 0.104 319.3)

  5. Step 400

    400 (this color)

    #DC8AF1

    oklch(75.5% 0.166 319.2)

  6. Step 500

    500

    #BE53D8

    oklch(63.1% 0.212 319.3)

  7. Step 600

    600

    #A92FC5

    oklch(55.5% 0.23 319.2)

  8. Step 700

    700

    #911EAA

    oklch(49% 0.214 319.4)

  9. Step 800

    800

    #761D8A

    oklch(42.7% 0.178 319.4)

  10. Step 900

    900

    #5F206E

    oklch(37.6% 0.138 319.3)

  11. Step 950

    950

    #381541

    oklch(27.1% 0.087 319)

Export this scale for Tailwind in the Tailwind colors tool

#DC8AF1 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)#7AA4F50.146
Deuteranopia (no green cones)#91ACEE0.131
Tritanopia (no blue cones)#DD97B20.106
Achromatopsia (no color)#A9A9A90.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC8AF1

    #DC8AF1

    oklch(75.5% 0.166 319.2)

  • #74C85C

    #74C85C

    oklch(75.5% 0.166 139.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC8AF1

    #DC8AF1

    oklch(75.5% 0.166 319.2)

  • #ADA0FF

    #ADA0FF

    oklch(75.4% 0.135 289)

  • #FA7FBF

    #FA7FBF

    oklch(75.4% 0.165 349.3)

Open the analogous palette in the generator

Split complementary

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

  • #DC8AF1

    #DC8AF1

    oklch(75.5% 0.166 319.2)

  • #B8B700

    #B8B700

    oklch(75.5% 0.164 109.4)

  • #00CD9F

    #00CD9F

    oklch(75.4% 0.151 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC8AF1

    #DC8AF1

    oklch(75.5% 0.166 319.2)

  • #E4A200

    #E4A200

    oklch(75.6% 0.157 79.3)

  • #00C7CE

    #00C7CE

    oklch(75.4% 0.128 199.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC8AF1

    #DC8AF1

    oklch(75.5% 0.166 319.2)

  • #FF8C47

    #FF8C47

    oklch(75.4% 0.162 49.2)

  • #74C85C

    #74C85C

    oklch(75.5% 0.166 139.1)

  • #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 #DC8AF1, closest first.

Similar named colors

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

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