#A172EF

Closest named color: Light Urple (#B36FF6). oklch(65.5% 0.182 298.6), rgb(161, 114, 239).

Aa

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

About this color

#A172EF is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.182 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.032 away. Black text reads best on it, at 6.16:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.182)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.16:1
White text3.40:1

Values

HEX#A172EF
RGBrgb(161, 114, 239)
HSLhsl(263, 80%, 69%)
OKLCHoklch(65.5% 0.182 298.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 #A172EF 3.40:1 AA large text Lc -66.7 Content text, not long reading
Black text on #A172EF 6.16:1 AA Lc 42.8 Non-text elements, placeholder text
#A172EF text on white 3.40:1 AA large text Lc 61.3 Content text, not long reading
#A172EF text on black 6.16:1 AA Lc -40.4 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DDD3F6

    oklch(88.6% 0.049 298.5)

  4. Step 300

    300

    #C8B4F3

    oklch(80.8% 0.09 298.9)

  5. Step 400

    400

    #AD8BED

    oklch(70.7% 0.143 298.7)

  6. Step 500

    500 (this color)

    #A172EF

    oklch(65.5% 0.182 298.6)

  7. Step 600

    600

    #854ED5

    oklch(55.6% 0.198 298.5)

  8. Step 700

    700

    #713EB8

    oklch(49.1% 0.183 298.6)

  9. Step 800

    800

    #5C3495

    oklch(42.7% 0.152 298.7)

  10. Step 900

    900

    #4B2F77

    oklch(37.7% 0.119 298.5)

  11. Step 950

    950

    #2C1C46

    oklch(27% 0.076 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#A172EF 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)#428BF30.125
Deuteranopia (no green cones)#4F8AEC0.116
Tritanopia (no blue cones)#908AA60.141
Achromatopsia (no color)#8B8B8B0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #A172EF

    #A172EF

    oklch(65.5% 0.182 298.6)

  • #889D00

    #889D00

    oklch(65.6% 0.154 118.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A172EF

    #A172EF

    oklch(65.5% 0.182 298.6)

  • #6387FF

    #6387FF

    oklch(65.6% 0.182 268.5)

  • #CA61C7

    #CA61C7

    oklch(65.5% 0.182 328.5)

Open the analogous palette in the generator

Split complementary

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

  • #A172EF

    #A172EF

    oklch(65.5% 0.182 298.6)

  • #B28B00

    #B28B00

    oklch(65.5% 0.134 88.7)

  • #13AD4B

    #13AD4B

    oklch(65.4% 0.182 148.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A172EF

    #A172EF

    oklch(65.5% 0.182 298.6)

  • #D57400

    #D57400

    oklch(65.5% 0.156 58.3)

  • #00A892

    #00A892

    oklch(65.5% 0.12 179)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A172EF

    #A172EF

    oklch(65.5% 0.182 298.6)

  • #EB5A4C

    #EB5A4C

    oklch(65.5% 0.182 28.5)

  • #889D00

    #889D00

    oklch(65.6% 0.154 118.8)

  • #00A3B5

    #00A3B5

    oklch(65.5% 0.113 208.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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