#A27BDA

Closest named color: Medium Purple (#9370DB). oklch(65.9% 0.142 301.6), rgb(162, 123, 218).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.142)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.38:1
White text3.29:1

Values

HEX#A27BDA
RGBrgb(162, 123, 218)
HSLhsl(265, 56%, 67%)
OKLCHoklch(65.9% 0.142 301.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 #A27BDA 3.29:1 AA large text Lc -65.6 Content text, not long reading
Black text on #A27BDA 6.38:1 AA Lc 44.0 Non-text elements, placeholder text
#A27BDA text on white 3.29:1 AA large text Lc 60.1 Content text, not long reading
#A27BDA text on black 6.38:1 AA Lc -41.6 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DDD4EF

    oklch(88.5% 0.038 300.8)

  4. Step 300

    300

    #C8B7E7

    oklch(81% 0.069 301.1)

  5. Step 400

    400

    #AD90DB

    oklch(70.8% 0.111 301.4)

  6. Step 500

    500 (this color)

    #A27BDA

    oklch(65.9% 0.142 301.6)

  7. Step 600

    600

    #8459BD

    oklch(55.6% 0.153 301.5)

  8. Step 700

    700

    #7048A3

    oklch(49% 0.143 301.6)

  9. Step 800

    800

    #5B3C84

    oklch(42.7% 0.118 301.5)

  10. Step 900

    900

    #4B346A

    oklch(37.8% 0.092 301.8)

  11. Step 950

    950

    #2C1F3E

    oklch(27.1% 0.058 302)

Export this scale for Tailwind in the Tailwind colors tool

#A27BDA 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)#618DDD0.094
Deuteranopia (no green cones)#6A8DD80.087
Tritanopia (no blue cones)#988BA00.109
Achromatopsia (no color)#8E8E8E0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #A27BDA

    #A27BDA

    oklch(65.9% 0.142 301.6)

  • #859F2A

    #859F2A

    oklch(66% 0.142 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A27BDA

    #A27BDA

    oklch(65.9% 0.142 301.6)

  • #738BE8

    #738BE8

    oklch(66% 0.141 271.2)

  • #C36FB9

    #C36FB9

    oklch(66% 0.142 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #A27BDA

    #A27BDA

    oklch(65.9% 0.142 301.6)

  • #B08E00

    #B08E00

    oklch(65.9% 0.135 91.7)

  • #40AA64

    #40AA64

    oklch(65.9% 0.142 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A27BDA

    #A27BDA

    oklch(65.9% 0.142 301.6)

  • #CF7B1F

    #CF7B1F

    oklch(66% 0.142 61.6)

  • #00A997

    #00A997

    oklch(65.9% 0.118 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A27BDA

    #A27BDA

    oklch(65.9% 0.142 301.6)

  • #DB6D59

    #DB6D59

    oklch(66% 0.142 31.8)

  • #859F2A

    #859F2A

    oklch(66% 0.142 121.5)

  • #00A4BA

    #00A4BA

    oklch(65.9% 0.115 211.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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