#D406F2

Closest named color: Hot Purple (#CB00F5). oklch(63.1% 0.299 321.2), rgb(212, 6, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.299)
Temperaturein between
Nearest nameHot Purple (#CB00F5)
Black text5.10:1
White text4.11:1

Values

HEX#D406F2
RGBrgb(212, 6, 242)
HSLhsl(292, 95%, 49%)
OKLCHoklch(63.1% 0.299 321.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 #D406F2 4.11:1 AA large text Lc -71.2 Content text, not long reading
Black text on #D406F2 5.10:1 AA Lc 38.4 Non-text elements, placeholder text
#D406F2 text on white 4.11:1 AA large text Lc 65.7 Content text, not long reading
#D406F2 text on black 5.10: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

    #FCF1FE

    oklch(97% 0.021 321)

  2. Step 100

    100

    #F7E1FB

    oklch(93.5% 0.042 321)

  3. Step 200

    200

    #F2C8FA

    oklch(88.4% 0.081 320.9)

  4. Step 300

    300

    #ECA0F9

    oklch(81% 0.146 321.5)

  5. Step 400

    400

    #DF62F6

    oklch(70.7% 0.233 321.2)

  6. Step 500

    500 (this color)

    #D406F2

    oklch(63.1% 0.299 321.2)

  7. Step 600

    600

    #B300CD

    oklch(55.5% 0.265 321.1)

  8. Step 700

    700

    #9800AE

    oklch(49.2% 0.235 321.2)

  9. Step 800

    800

    #7D0090

    oklch(42.7% 0.204 321)

  10. Step 900

    900

    #690079

    oklch(37.7% 0.18 321.1)

  11. Step 950

    950

    #3F0349

    oklch(26.9% 0.123 321.1)

Export this scale for Tailwind in the Tailwind colors tool

#D406F2 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)#0071F70.283
Deuteranopia (no green cones)#3983EE0.270
Tritanopia (no blue cones)#D5508F0.178
Achromatopsia (no color)#7D7D7D0.302

Harmonies

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

Complementary

The opposite hue (180°).

  • #D406F2

    #D406F2

    oklch(63.1% 0.299 321.2)

  • #23A600

    #23A600

    oklch(63.2% 0.209 141.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D406F2

    #D406F2

    oklch(63.1% 0.299 321.2)

  • #8F66FF

    #8F66FF

    oklch(63% 0.217 291.2)

  • #F1009C

    #F1009C

    oklch(63% 0.262 351.1)

Open the analogous palette in the generator

Split complementary

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

  • #D406F2

    #D406F2

    oklch(63.1% 0.299 321.2)

  • #8D9000

    #8D9000

    oklch(63% 0.139 111.3)

  • #00A180

    #00A180

    oklch(63.1% 0.123 171.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D406F2

    #D406F2

    oklch(63.1% 0.299 321.2)

  • #B17F00

    #B17F00

    oklch(63% 0.13 80.8)

  • #009CA4

    #009CA4

    oklch(63% 0.107 201.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D406F2

    #D406F2

    oklch(63.1% 0.299 321.2)

  • #D46600

    #D46600

    oklch(63.2% 0.164 51.4)

  • #23A600

    #23A600

    oklch(63.2% 0.209 141.2)

  • #0096C8

    #0096C8

    oklch(63.1% 0.127 231)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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