#A338AD

Closest named color: Purply (#983FB2). oklch(54% 0.197 324.2), rgb(163, 56, 173).

Aa

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

About this color

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

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

Values

HEX#A338AD
RGBrgb(163, 56, 173)
HSLhsl(295, 51%, 45%)
OKLCHoklch(54% 0.197 324.2)

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 #A338AD 5.63:1 AA Lc -82.6 Fine for body text
Black text on #A338AD 3.72:1 AA large text Lc 26.8 Dividers and decoration only
#A338AD text on white 5.63:1 AA Lc 77.3 Fine for body text
#A338AD text on black 3.72:1 AA large text Lc -24.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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EACFEC

    oklch(88.6% 0.049 323.8)

  4. Step 300

    300

    #DEADE1

    oklch(80.9% 0.089 324.5)

  5. Step 400

    400

    #CC80D2

    oklch(70.8% 0.142 324.3)

  6. Step 500

    500

    #BD5CC6

    oklch(63.1% 0.181 324.1)

  7. Step 600

    600 (this color)

    #A338AD

    oklch(54% 0.197 324.2)

  8. Step 700

    700

    #902E99

    oklch(49.1% 0.183 324.3)

  9. Step 800

    800

    #75287C

    oklch(42.7% 0.151 324.3)

  10. Step 900

    900

    #5F2664

    oklch(37.7% 0.119 324.4)

  11. Step 950

    950

    #38173B

    oklch(27% 0.076 324.2)

Export this scale for Tailwind in the Tailwind colors tool

#A338AD 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)#1C5FB00.203
Deuteranopia (no green cones)#4D6CAA0.172
Tritanopia (no blue cones)#A64B6E0.116
Achromatopsia (no color)#6767670.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #A338AD

    #A338AD

    oklch(54% 0.197 324.2)

  • #00871B

    #00871B

    oklch(54.1% 0.175 144.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A338AD

    #A338AD

    oklch(54% 0.197 324.2)

  • #794CD3

    #794CD3

    oklch(54% 0.197 294.1)

  • #BE2676

    #BE2676

    oklch(54.1% 0.197 354.3)

Open the analogous palette in the generator

Split complementary

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

  • #A338AD

    #A338AD

    oklch(54% 0.197 324.2)

  • #6E7600

    #6E7600

    oklch(54.1% 0.122 114.4)

  • #00826A

    #00826A

    oklch(54.1% 0.103 173.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A338AD

    #A338AD

    oklch(54% 0.197 324.2)

  • #8D6800

    #8D6800

    oklch(54% 0.111 84)

  • #007E87

    #007E87

    oklch(54.1% 0.092 203.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A338AD

    #A338AD

    oklch(54% 0.197 324.2)

  • #A95400

    #A95400

    oklch(54% 0.136 53.9)

  • #00871B

    #00871B

    oklch(54.1% 0.175 144.2)

  • #0078A6

    #0078A6

    oklch(54% 0.113 234.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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