#D338D3

Closest named color: Purple Pink (#D725DE). oklch(63.1% 0.249 328), rgb(211, 56, 211).

Aa

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

About this color

#D338D3 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.249 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.026 away. Black text reads best on it, at 5.27:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.249)
Temperaturein between
Nearest namePurple Pink (#D725DE)
Black text5.27:1
White text3.98:1

Values

HEX#D338D3
RGBrgb(211, 56, 211)
HSLhsl(300, 64%, 52%)
OKLCHoklch(63.1% 0.249 328)

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 #D338D3 3.98:1 AA large text Lc -71.3 Content text, not long reading
Black text on #D338D3 5.27:1 AA Lc 38.3 Non-text elements, placeholder text
#D338D3 text on white 3.98:1 AA large text Lc 65.8 Content text, not long reading
#D338D3 text on black 5.27:1 AA Lc -35.9 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FCF2FB

    oklch(97.1% 0.016 328.8)

  2. Step 100

    100

    #F8E2F6

    oklch(93.6% 0.036 328.7)

  3. Step 200

    200

    #F3CAF0

    oklch(88.6% 0.068 328.5)

  4. Step 300

    300

    #EBA4E8

    oklch(80.9% 0.121 328.1)

  5. Step 400

    400

    #DF6DDD

    oklch(70.8% 0.195 328.1)

  6. Step 500

    500 (this color)

    #D338D3

    oklch(63.1% 0.249 328)

  7. Step 600

    600

    #BB00BC

    oklch(55.6% 0.256 328.1)

  8. Step 700

    700

    #9E009F

    oklch(49.1% 0.226 328)

  9. Step 800

    800

    #820083

    oklch(42.6% 0.196 328)

  10. Step 900

    900

    #6B0C6C

    oklch(37.7% 0.163 327.7)

  11. Step 950

    950

    #3F0C3F

    oklch(27% 0.103 328)

Export this scale for Tailwind in the Tailwind colors tool

#D338D3 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)#1573D70.269
Deuteranopia (no green cones)#6386CF0.225
Tritanopia (no blue cones)#DA51830.139
Achromatopsia (no color)#7F7F7F0.252

Harmonies

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

Complementary

The opposite hue (180°).

  • #D338D3

    #D338D3

    oklch(63.1% 0.249 328)

  • #00A542

    #00A542

    oklch(63% 0.182 148.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D338D3

    #D338D3

    oklch(63.1% 0.249 328)

  • #9E5CFF

    #9E5CFF

    oklch(63.1% 0.231 298.1)

  • #F31689

    #F31689

    oklch(63.2% 0.25 358)

Open the analogous palette in the generator

Split complementary

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

  • #D338D3

    #D338D3

    oklch(63.1% 0.249 328)

  • #829400

    #829400

    oklch(63% 0.147 118)

  • #00A089

    #00A089

    oklch(63.1% 0.116 177.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D338D3

    #D338D3

    oklch(63.1% 0.249 328)

  • #AA8400

    #AA8400

    oklch(63.2% 0.129 88.2)

  • #009BAC

    #009BAC

    oklch(63.1% 0.109 208.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D338D3

    #D338D3

    oklch(63.1% 0.249 328)

  • #CB6E00

    #CB6E00

    oklch(63.2% 0.151 58.2)

  • #00A542

    #00A542

    oklch(63% 0.182 148.1)

  • #0093D3

    #0093D3

    oklch(63% 0.14 238.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D338D3.

Similar named colors

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

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