#A042BD

Closest named color: Purply (#983FB2). oklch(55.7% 0.197 317.3), rgb(160, 66, 189).

Aa

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

About this color

#A042BD is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.197 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.023 away. White text reads best on it, at 5.23:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.197)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.00:1
White text5.23:1

Values

HEX#A042BD
RGBrgb(160, 66, 189)
HSLhsl(286, 48%, 50%)
OKLCHoklch(55.7% 0.197 317.3)

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 #A042BD 5.23:1 AA Lc -80.6 Fine for body text
Black text on #A042BD 4.00:1 AA large text Lc 28.8 Dividers and decoration only
#A042BD text on white 5.23:1 AA Lc 75.3 Fine for body text
#A042BD text on black 4.00:1 AA large text Lc -26.5 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0EF

    oklch(88.6% 0.049 317.4)

  4. Step 300

    300

    #D8AFE7

    oklch(80.9% 0.089 316.9)

  5. Step 400

    400

    #C483DA

    oklch(70.7% 0.141 317.2)

  6. Step 500

    500

    #B560D0

    oklch(63.2% 0.181 317.4)

  7. Step 600

    600 (this color)

    #A042BD

    oklch(55.7% 0.197 317.3)

  8. Step 700

    700

    #8932A3

    oklch(49.1% 0.184 317.4)

  9. Step 800

    800

    #6F2B84

    oklch(42.7% 0.152 317.3)

  10. Step 900

    900

    #5A296A

    oklch(37.8% 0.117 317.1)

  11. Step 950

    950

    #35193E

    oklch(27.1% 0.074 317.4)

Export this scale for Tailwind in the Tailwind colors tool

#A042BD 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)#1366C10.191
Deuteranopia (no green cones)#456FBA0.165
Tritanopia (no blue cones)#9F587A0.125
Achromatopsia (no color)#6C6C6C0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #A042BD

    #A042BD

    oklch(55.7% 0.197 317.3)

  • #3A8800

    #3A8800

    oklch(55.5% 0.169 137.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A042BD

    #A042BD

    oklch(55.7% 0.197 317.3)

  • #7157DE

    #7157DE

    oklch(55.7% 0.197 287)

  • #BE3089

    #BE3089

    oklch(55.6% 0.197 347)

Open the analogous palette in the generator

Split complementary

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

  • #A042BD

    #A042BD

    oklch(55.7% 0.197 317.3)

  • #7C7800

    #7C7800

    oklch(55.8% 0.12 107.4)

  • #008866

    #008866

    oklch(55.6% 0.113 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A042BD

    #A042BD

    oklch(55.7% 0.197 317.3)

  • #996900

    #996900

    oklch(55.7% 0.116 77.3)

  • #008487

    #008487

    oklch(55.6% 0.095 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A042BD

    #A042BD

    oklch(55.7% 0.197 317.3)

  • #B85000

    #B85000

    oklch(55.7% 0.153 47.4)

  • #3A8800

    #3A8800

    oklch(55.5% 0.169 137.3)

  • #007FA4

    #007FA4

    oklch(55.6% 0.108 227.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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