#A338A7

Closest named color: Purply (#983FB2). oklch(53.7% 0.192 326.3), rgb(163, 56, 167).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.192)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.68:1
White text5.70:1

Values

HEX#A338A7
RGBrgb(163, 56, 167)
HSLhsl(298, 50%, 44%)
OKLCHoklch(53.7% 0.192 326.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 #A338A7 5.70:1 AA Lc -82.9 Fine for body text
Black text on #A338A7 3.68:1 AA large text Lc 26.4 Dividers and decoration only
#A338A7 text on white 5.70:1 AA Lc 77.6 Fine for body text
#A338A7 text on black 3.68:1 AA large text Lc -24.1 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EBCFEA

    oklch(88.6% 0.047 327.1)

  4. Step 300

    300

    #DEADDE

    oklch(80.7% 0.086 326.3)

  5. Step 400

    400

    #CD80CE

    oklch(70.7% 0.139 326.5)

  6. Step 500

    500

    #BE5DC1

    oklch(63.1% 0.176 326.3)

  7. Step 600

    600 (this color)

    #A338A7

    oklch(53.7% 0.192 326.3)

  8. Step 700

    700

    #912F95

    oklch(49.1% 0.179 326.2)

  9. Step 800

    800

    #762979

    oklch(42.8% 0.148 326.2)

  10. Step 900

    900

    #5F2761

    oklch(37.7% 0.114 326.2)

  11. Step 950

    950

    #381839

    oklch(27.1% 0.072 326.2)

Export this scale for Tailwind in the Tailwind colors tool

#A338A7 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)#255EAA0.199
Deuteranopia (no green cones)#506BA40.170
Tritanopia (no blue cones)#A7486B0.109
Achromatopsia (no color)#6666660.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #A338A7

    #A338A7

    oklch(53.7% 0.192 326.3)

  • #00852B

    #00852B

    oklch(53.7% 0.162 146.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A338A7

    #A338A7

    oklch(53.7% 0.192 326.3)

  • #7B4BCD

    #7B4BCD

    oklch(53.6% 0.192 296.3)

  • #BC2871

    #BC2871

    oklch(53.7% 0.192 356.2)

Open the analogous palette in the generator

Split complementary

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

  • #A338A7

    #A338A7

    oklch(53.7% 0.192 326.3)

  • #6A7600

    #6A7600

    oklch(53.7% 0.123 116.6)

  • #00806C

    #00806C

    oklch(53.6% 0.1 176.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A338A7

    #A338A7

    oklch(53.7% 0.192 326.3)

  • #8A6800

    #8A6800

    oklch(53.7% 0.11 86)

  • #007C88

    #007C88

    oklch(53.6% 0.092 206.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A338A7

    #A338A7

    oklch(53.7% 0.192 326.3)

  • #A55600

    #A55600

    oklch(53.8% 0.131 56.6)

  • #00852B

    #00852B

    oklch(53.7% 0.162 146.4)

  • #0076A8

    #0076A8

    oklch(53.6% 0.117 236.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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