#A671D7

Closest named color: Medium Purple (#9370DB). oklch(64.5% 0.155 306.5), rgb(166, 113, 215).

Aa

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

About this color

#A671D7 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.155 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.033 away. Black text reads best on it, at 5.96:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.155)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.96:1
White text3.52:1

Values

HEX#A671D7
RGBrgb(166, 113, 215)
HSLhsl(271, 56%, 64%)
OKLCHoklch(64.5% 0.155 306.5)

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 #A671D7 3.52:1 AA large text Lc -68.0 Content text, not long reading
Black text on #A671D7 5.96:1 AA Lc 41.5 Non-text elements, placeholder text
#A671D7 text on white 3.52:1 AA large text Lc 62.6 Content text, not long reading
#A671D7 text on black 5.96:1 AA Lc -39.1 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F6

    oklch(93.5% 0.023 305.6)

  3. Step 200

    200

    #E0D2F0

    oklch(88.4% 0.043 306.5)

  4. Step 300

    300

    #CDB4E8

    oklch(80.8% 0.077 306.6)

  5. Step 400

    400

    #B48CDC

    oklch(70.8% 0.121 306.5)

  6. Step 500

    500 (this color)

    #A671D7

    oklch(64.5% 0.155 306.5)

  7. Step 600

    600

    #8D52BF

    oklch(55.6% 0.169 306.7)

  8. Step 700

    700

    #7842A5

    oklch(49.1% 0.157 306.7)

  9. Step 800

    800

    #613786

    oklch(42.7% 0.13 306.2)

  10. Step 900

    900

    #4F306B

    oklch(37.6% 0.102 306.4)

  11. Step 950

    950

    #2E1D3F

    oklch(27% 0.064 305.6)

Export this scale for Tailwind in the Tailwind colors tool

#A671D7 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)#5687DB0.117
Deuteranopia (no green cones)#6489D40.107
Tritanopia (no blue cones)#9F829A0.113
Achromatopsia (no color)#8989890.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #A671D7

    #A671D7

    oklch(64.5% 0.155 306.5)

  • #759E1D

    #759E1D

    oklch(64.6% 0.156 126.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A671D7

    #A671D7

    oklch(64.5% 0.155 306.5)

  • #7682EA

    #7682EA

    oklch(64.5% 0.155 276.2)

  • #C764B0

    #C764B0

    oklch(64.5% 0.156 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #A671D7

    #A671D7

    oklch(64.5% 0.155 306.5)

  • #A58D00

    #A58D00

    oklch(64.6% 0.133 97)

  • #00A965

    #00A965

    oklch(64.6% 0.156 156.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A671D7

    #A671D7

    oklch(64.5% 0.155 306.5)

  • #C77900

    #C77900

    oklch(64.5% 0.143 66.3)

  • #00A399

    #00A399

    oklch(64.4% 0.112 187.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A671D7

    #A671D7

    oklch(64.5% 0.155 306.5)

  • #DB6544

    #DB6544

    oklch(64.5% 0.156 36.5)

  • #759E1D

    #759E1D

    oklch(64.6% 0.156 126.6)

  • #009EBB

    #009EBB

    oklch(64.5% 0.115 217)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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