#8242A1

Closest named color: Purply (#983FB2). oklch(50.1% 0.156 313.3), rgb(130, 66, 161).

Aa

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

About this color

#8242A1 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.156 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.049 away. White text reads best on it, at 6.47:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.156)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.24:1
White text6.47:1

Values

HEX#8242A1
RGBrgb(130, 66, 161)
HSLhsl(280, 42%, 45%)
OKLCHoklch(50.1% 0.156 313.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 #8242A1 6.47:1 AA Lc -86.8 Fine for body text
Black text on #8242A1 3.24:1 AA large text Lc 22.4 Dividers and decoration only
#8242A1 text on white 6.47:1 AA Lc 81.7 Fine for body text
#8242A1 text on black 3.24:1 AA large text Lc -20.2 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 700.

  1. Step 50

    50

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E3D2ED

    oklch(88.6% 0.041 313.2)

  4. Step 300

    300

    #D2B3E4

    oklch(81% 0.075 313)

  5. Step 400

    400

    #BB89D6

    oklch(70.6% 0.121 313.2)

  6. Step 500

    500

    #AA6ACB

    oklch(63.2% 0.154 313.2)

  7. Step 600

    600

    #954FB7

    oklch(55.6% 0.167 313.3)

  8. Step 700

    700 (this color)

    #8242A1

    oklch(50.1% 0.156 313.3)

  9. Step 800

    800

    #673580

    oklch(42.7% 0.128 313)

  10. Step 900

    900

    #542F67

    oklch(37.7% 0.1 313)

  11. Step 950

    950

    #311C3C

    oklch(27% 0.063 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#8242A1 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)#255BA40.139
Deuteranopia (no green cones)#3E609F0.123
Tritanopia (no blue cones)#7F536B0.106
Achromatopsia (no color)#5E5E5E0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #8242A1

    #8242A1

    oklch(50.1% 0.156 313.3)

  • #407300

    #407300

    oklch(50% 0.142 133.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8242A1

    #8242A1

    oklch(50.1% 0.156 313.3)

  • #5B52B8

    #5B52B8

    oklch(50.2% 0.156 283.2)

  • #9C367A

    #9C367A

    oklch(50.1% 0.155 343.3)

Open the analogous palette in the generator

Split complementary

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

  • #8242A1

    #8242A1

    oklch(50.1% 0.156 313.3)

  • #6F6500

    #6F6500

    oklch(50% 0.105 102.7)

  • #007652

    #007652

    oklch(50.1% 0.107 163.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8242A1

    #8242A1

    oklch(50.1% 0.156 313.3)

  • #875800

    #875800

    oklch(50% 0.106 73.3)

  • #007371

    #007371

    oklch(50.2% 0.086 192.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8242A1

    #8242A1

    oklch(50.1% 0.156 313.3)

  • #A53F00

    #A53F00

    oklch(50.2% 0.148 43.4)

  • #407300

    #407300

    oklch(50% 0.142 133.2)

  • #006E8A

    #006E8A

    oklch(50% 0.093 223.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8242A1 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.