#D538CC

Closest named color: Purple Pink (#D725DE). oklch(63% 0.245 330.6), rgb(213, 56, 204).

Aa

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

About this color

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

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

Values

HEX#D538CC
RGBrgb(213, 56, 204)
HSLhsl(303, 65%, 53%)
OKLCHoklch(63% 0.245 330.6)

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 #D538CC 3.98:1 AA large text Lc -71.4 Content text, not long reading
Black text on #D538CC 5.26:1 AA Lc 38.2 Non-text elements, placeholder text
#D538CC text on white 3.98:1 AA large text Lc 65.9 Content text, not long reading
#D538CC text on black 5.26:1 AA Lc -35.8 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

    #F8E2F5

    oklch(93.6% 0.035 330.2)

  3. Step 200

    200

    #F4CAEE

    oklch(88.6% 0.067 330.9)

  4. Step 300

    300

    #EDA4E5

    oklch(80.9% 0.12 330.5)

  5. Step 400

    400

    #E16DD7

    oklch(70.7% 0.191 330.7)

  6. Step 500

    500 (this color)

    #D538CC

    oklch(63% 0.245 330.6)

  7. Step 600

    600

    #BD00B6

    oklch(55.6% 0.253 330.4)

  8. Step 700

    700

    #A00099

    oklch(49.1% 0.223 330.7)

  9. Step 800

    800

    #84007F

    oklch(42.7% 0.194 330.4)

  10. Step 900

    900

    #6C0D68

    oklch(37.6% 0.16 330.2)

  11. Step 950

    950

    #400C3D

    oklch(27% 0.102 330.5)

Export this scale for Tailwind in the Tailwind colors tool

#D538CC 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)#2672D00.266
Deuteranopia (no green cones)#6987C80.224
Tritanopia (no blue cones)#DD4D7F0.132
Achromatopsia (no color)#7F7F7F0.247

Harmonies

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

Complementary

The opposite hue (180°).

  • #D538CC

    #D538CC

    oklch(63% 0.245 330.6)

  • #00A54E

    #00A54E

    oklch(63.1% 0.171 150.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D538CC

    #D538CC

    oklch(63% 0.245 330.6)

  • #A357FF

    #A357FF

    oklch(62.9% 0.238 300.4)

  • #F31A81

    #F31A81

    oklch(63% 0.245 0.8)

Open the analogous palette in the generator

Split complementary

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

  • #D538CC

    #D538CC

    oklch(63% 0.245 330.6)

  • #7D9600

    #7D9600

    oklch(63.1% 0.151 120.8)

  • #009F8C

    #009F8C

    oklch(63% 0.114 180.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D538CC

    #D538CC

    oklch(63% 0.245 330.6)

  • #A78500

    #A78500

    oklch(63.1% 0.129 90.6)

  • #009AAE

    #009AAE

    oklch(62.9% 0.109 210.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D538CC

    #D538CC

    oklch(63% 0.245 330.6)

  • #C77000

    #C77000

    oklch(63% 0.147 60.7)

  • #00A54E

    #00A54E

    oklch(63.1% 0.171 150.6)

  • #0092D8

    #0092D8

    oklch(63% 0.146 240.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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