#D336D8

Closest named color: Purple Pink (#D725DE). oklch(63.2% 0.255 326.7), rgb(211, 54, 216).

Aa

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

About this color

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

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

Values

HEX#D336D8
RGBrgb(211, 54, 216)
HSLhsl(298, 68%, 53%)
OKLCHoklch(63.2% 0.255 326.7)

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 #D336D8 3.97:1 AA large text Lc -71.2 Content text, not long reading
Black text on #D336D8 5.28:1 AA Lc 38.4 Non-text elements, placeholder text
#D336D8 text on white 3.97:1 AA large text Lc 65.7 Content text, not long reading
#D336D8 text on black 5.28:1 AA Lc -36.0 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

    #F7E2F7

    oklch(93.6% 0.036 325.9)

  3. Step 200

    200

    #F2CAF2

    oklch(88.5% 0.069 326.1)

  4. Step 300

    300

    #EBA4EB

    oklch(81% 0.124 326.6)

  5. Step 400

    400

    #DE6CE1

    oklch(70.7% 0.2 326.5)

  6. Step 500

    500 (this color)

    #D336D8

    oklch(63.2% 0.255 326.7)

  7. Step 600

    600

    #B900BF

    oklch(55.5% 0.257 326.7)

  8. Step 700

    700

    #9D00A2

    oklch(49.2% 0.228 326.7)

  9. Step 800

    800

    #810086

    oklch(42.7% 0.198 326.4)

  10. Step 900

    900

    #6B0A6E

    oklch(37.7% 0.166 326.8)

  11. Step 950

    950

    #3F0B41

    oklch(27% 0.106 326.4)

Export this scale for Tailwind in the Tailwind colors tool

#D336D8 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)#0073DC0.273
Deuteranopia (no green cones)#5F86D40.229
Tritanopia (no blue cones)#D952860.144
Achromatopsia (no color)#8080800.257

Harmonies

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

Complementary

The opposite hue (180°).

  • #D336D8

    #D336D8

    oklch(63.2% 0.255 326.7)

  • #00A63A

    #00A63A

    oklch(63.2% 0.189 146.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D336D8

    #D336D8

    oklch(63.2% 0.255 326.7)

  • #9B5FFF

    #9B5FFF

    oklch(63.2% 0.227 296.6)

  • #F40C8D

    #F40C8D

    oklch(63.2% 0.255 356.6)

Open the analogous palette in the generator

Split complementary

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

  • #D336D8

    #D336D8

    oklch(63.2% 0.255 326.7)

  • #859400

    #859400

    oklch(63.2% 0.145 116.7)

  • #00A188

    #00A188

    oklch(63.4% 0.118 176.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D336D8

    #D336D8

    oklch(63.2% 0.255 326.7)

  • #AC8300

    #AC8300

    oklch(63.2% 0.129 86.4)

  • #009CAB

    #009CAB

    oklch(63.3% 0.108 206.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D336D8

    #D336D8

    oklch(63.2% 0.255 326.7)

  • #CD6D00

    #CD6D00

    oklch(63.3% 0.153 56.9)

  • #00A63A

    #00A63A

    oklch(63.2% 0.189 146.7)

  • #0094D2

    #0094D2

    oklch(63.2% 0.138 237.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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