#A842CE

Closest named color: Dark Orchid (#9932CC). oklch(57.8% 0.216 315.4), rgb(168, 66, 206).

Aa

White text reads best on this color (4.84:1).

About this color

#A842CE is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.216 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.041 away. White text reads best on it, at 4.84:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.216)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.33:1
White text4.84:1

Values

HEX#A842CE
RGBrgb(168, 66, 206)
HSLhsl(284, 59%, 53%)
OKLCHoklch(57.8% 0.216 315.4)

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 #A842CE 4.84:1 AA Lc -78.2 Fine for body text
Black text on #A842CE 4.33:1 AA large text Lc 31.3 Non-text elements, placeholder text
#A842CE text on white 4.84:1 AA Lc 72.7 Content text, not long reading
#A842CE text on black 4.33:1 AA large text Lc -28.9 Dividers and decoration only

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

  1. Step 50

    50

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF2

    oklch(88.5% 0.054 315.3)

  4. Step 300

    300

    #D9AEEC

    oklch(81% 0.097 315.3)

  5. Step 400

    400

    #C580E2

    oklch(70.7% 0.155 315.3)

  6. Step 500

    500

    #B65BD9

    oklch(63.2% 0.198 315.6)

  7. Step 600

    600 (this color)

    #A842CE

    oklch(57.8% 0.216 315.4)

  8. Step 700

    700

    #8A2BAC

    oklch(49.2% 0.201 315.3)

  9. Step 800

    800

    #70268B

    oklch(42.7% 0.166 315.4)

  10. Step 900

    900

    #5B256F

    oklch(37.7% 0.13 315.7)

  11. Step 950

    950

    #351741

    oklch(27% 0.082 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#A842CE 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)#006CD20.204
Deuteranopia (no green cones)#3F74CB0.180
Tritanopia (no blue cones)#A55E830.141
Achromatopsia (no color)#7272720.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #A842CE

    #A842CE

    oklch(57.8% 0.216 315.4)

  • #478E00

    #478E00

    oklch(57.7% 0.17 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A842CE

    #A842CE

    oklch(57.8% 0.216 315.4)

  • #745AF1

    #745AF1

    oklch(57.9% 0.216 285.3)

  • #CA2C95

    #CA2C95

    oklch(57.7% 0.215 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #A842CE

    #A842CE

    oklch(57.8% 0.216 315.4)

  • #857D00

    #857D00

    oklch(57.8% 0.123 105.1)

  • #009068

    #009068

    oklch(57.9% 0.121 165.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A842CE

    #A842CE

    oklch(57.8% 0.216 315.4)

  • #A36D00

    #A36D00

    oklch(57.7% 0.122 74.8)

  • #008B8C

    #008B8C

    oklch(57.7% 0.098 195.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A842CE

    #A842CE

    oklch(57.8% 0.216 315.4)

  • #C45100

    #C45100

    oklch(57.7% 0.164 45.3)

  • #478E00

    #478E00

    oklch(57.7% 0.17 135.4)

  • #0086AA

    #0086AA

    oklch(57.7% 0.11 225.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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