#D162DF

Closest named color: Orchid (#DA70D6). oklch(67.7% 0.206 323), rgb(209, 98, 223).

Aa

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

About this color

#D162DF is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.206 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.040 away. Black text reads best on it, at 6.52:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.206)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text6.52:1
White text3.21:1

Values

HEX#D162DF
RGBrgb(209, 98, 223)
HSLhsl(293, 66%, 63%)
OKLCHoklch(67.7% 0.206 323)

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 #D162DF 3.21:1 AA large text Lc -64.2 Content text, not long reading
Black text on #D162DF 6.52:1 AA Lc 45.2 Large or bold text, headings
#D162DF text on white 3.21:1 AA large text Lc 58.8 Large or bold text, headings
#D162DF text on black 6.52:1 AA Lc -42.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 400.

  1. Step 50

    50

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F7E2F9

    oklch(93.6% 0.038 323.2)

  3. Step 200

    200

    #F1CAF5

    oklch(88.5% 0.072 323.2)

  4. Step 300

    300

    #E9A4F1

    oklch(81% 0.129 323.1)

  5. Step 400

    400 (this color)

    #D162DF

    oklch(67.7% 0.206 323)

  6. Step 500

    500

    #CF34E2

    oklch(63.1% 0.263 323)

  7. Step 600

    600

    #B600C9

    oklch(55.7% 0.263 323.1)

  8. Step 700

    700

    #9900AA

    oklch(49.1% 0.232 322.8)

  9. Step 800

    800

    #7F008C

    oklch(42.8% 0.202 323.3)

  10. Step 900

    900

    #690874

    oklch(37.7% 0.171 323.1)

  11. Step 950

    950

    #3E0B44

    oklch(27% 0.109 323.3)

Export this scale for Tailwind in the Tailwind colors tool

#D162DF 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)#4D87E30.200
Deuteranopia (no green cones)#7394DC0.175
Tritanopia (no blue cones)#D473970.124
Achromatopsia (no color)#8F8F8F0.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #D162DF

    #D162DF

    oklch(67.7% 0.206 323)

  • #2DB52F

    #2DB52F

    oklch(67.7% 0.206 143)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D162DF

    #D162DF

    oklch(67.7% 0.206 323)

  • #9E7BFF

    #9E7BFF

    oklch(67.7% 0.189 292.9)

  • #F153A2

    #F153A2

    oklch(67.7% 0.206 353.2)

Open the analogous palette in the generator

Split complementary

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

  • #D162DF

    #D162DF

    oklch(67.7% 0.206 323)

  • #99A000

    #99A000

    oklch(67.7% 0.151 112.9)

  • #00B190

    #00B190

    oklch(67.8% 0.13 173.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D162DF

    #D162DF

    oklch(67.7% 0.206 323)

  • #C18E00

    #C18E00

    oklch(67.8% 0.139 82.9)

  • #00ACB7

    #00ACB7

    oklch(67.8% 0.115 202.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D162DF

    #D162DF

    oklch(67.7% 0.206 323)

  • #E67300

    #E67300

    oklch(67.7% 0.172 53.1)

  • #2DB52F

    #2DB52F

    oklch(67.7% 0.206 143)

  • #00A4DF

    #00A4DF

    oklch(67.6% 0.14 233.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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