#A381F2

Closest named color: Periwinkle (#8E82FE). oklch(68.4% 0.164 295.6), rgb(163, 129, 242).

Aa

Black text reads best on this color (6.97:1).

About this color

#A381F2 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.164 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.036 away. Black text reads best on it, at 6.97:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.164)
Temperaturein between
Nearest namePeriwinkle (#8E82FE)
Black text6.97:1
White text3.00:1

Values

HEX#A381F2
RGBrgb(163, 129, 242)
HSLhsl(258, 81%, 73%)
OKLCHoklch(68.4% 0.164 295.6)

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 #A381F2 3.00:1 AA large text Lc -62.0 Content text, not long reading
Black text on #A381F2 6.97:1 AA Lc 47.4 Large or bold text, headings
#A381F2 text on white 3.00:1 AA large text Lc 56.6 Large or bold text, headings
#A381F2 text on black 6.97:1 AA Lc -45.2 Large or bold text, headings

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

  1. Step 50

    50

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200

    #DCD2FB

    oklch(88.5% 0.057 296.4)

  4. Step 300

    300

    #C6B3FC

    oklch(80.9% 0.103 296)

  5. Step 400

    400 (this color)

    #A381F2

    oklch(68.4% 0.164 295.6)

  6. Step 500

    500

    #9765F7

    oklch(63.1% 0.209 295.6)

  7. Step 600

    600

    #8346E6

    oklch(55.6% 0.227 295.5)

  8. Step 700

    700

    #6F35C8

    oklch(49.1% 0.212 295.4)

  9. Step 800

    800

    #5A2EA1

    oklch(42.6% 0.174 295.5)

  10. Step 900

    900

    #4A2B80

    oklch(37.7% 0.137 295.9)

  11. Step 950

    950

    #2B1B4B

    oklch(27.1% 0.085 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#A381F2 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)#5B95F60.098
Deuteranopia (no green cones)#6293EF0.092
Tritanopia (no blue cones)#9196AE0.130
Achromatopsia (no color)#9595950.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #A381F2

    #A381F2

    oklch(68.4% 0.164 295.6)

  • #96A400

    #96A400

    oklch(68.4% 0.156 115.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A381F2

    #A381F2

    oklch(68.4% 0.164 295.6)

  • #6994FE

    #6994FE

    oklch(68.5% 0.163 265.7)

  • #CB72CF

    #CB72CF

    oklch(68.4% 0.162 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #A381F2

    #A381F2

    oklch(68.4% 0.164 295.6)

  • #C09100

    #C09100

    oklch(68.3% 0.14 85.4)

  • #4AB356

    #4AB356

    oklch(68.4% 0.163 145.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A381F2

    #A381F2

    oklch(68.4% 0.164 295.6)

  • #E37912

    #E37912

    oklch(68.3% 0.163 55.6)

  • #00B396

    #00B396

    oklch(68.5% 0.129 175.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A381F2

    #A381F2

    oklch(68.4% 0.164 295.6)

  • #ED6A63

    #ED6A63

    oklch(68.3% 0.164 25.4)

  • #96A400

    #96A400

    oklch(68.4% 0.156 115.7)

  • #00ADBC

    #00ADBC

    oklch(68.3% 0.117 205.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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