#AB5EAF

Closest named color: Soft Purple (#A66FB5). oklch(60% 0.145 325.4), rgb(171, 94, 175).

Aa

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

About this color

#AB5EAF is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.145 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.039 away. Black text reads best on it, at 4.95:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.145)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text4.95:1
White text4.24:1

Values

HEX#AB5EAF
RGBrgb(171, 94, 175)
HSLhsl(297, 34%, 53%)
OKLCHoklch(60% 0.145 325.4)

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 #AB5EAF 4.24:1 AA large text Lc -74.5 Content text, not long reading
Black text on #AB5EAF 4.95:1 AA Lc 35.1 Non-text elements, placeholder text
#AB5EAF text on white 4.24:1 AA large text Lc 69.0 Content text, not long reading
#AB5EAF text on black 4.95:1 AA Lc -32.7 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F1

    oklch(93.5% 0.02 325.7)

  3. Step 200

    200

    #E7D1E8

    oklch(88.6% 0.039 324.6)

  4. Step 300

    300

    #D9B1DA

    oklch(80.9% 0.072 325.4)

  5. Step 400

    400

    #C587C7

    oklch(70.7% 0.114 325.6)

  6. Step 500

    500 (this color)

    #AB5EAF

    oklch(60% 0.145 325.4)

  7. Step 600

    600

    #A04CA5

    oklch(55.5% 0.159 325.3)

  8. Step 700

    700

    #893D8D

    oklch(49.1% 0.147 325.6)

  9. Step 800

    800

    #6F3373

    oklch(42.7% 0.122 325)

  10. Step 900

    900

    #5A2D5D

    oklch(37.6% 0.096 324.9)

  11. Step 950

    950

    #351B36

    oklch(27% 0.06 325.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB5EAF 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)#5675B20.138
Deuteranopia (no green cones)#6B7EAD0.124
Tritanopia (no blue cones)#AF677E0.086
Achromatopsia (no color)#7B7B7B0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5EAF

    #AB5EAF

    oklch(60% 0.145 325.4)

  • #3C9646

    #3C9646

    oklch(60% 0.145 145.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5EAF

    #AB5EAF

    oklch(60% 0.145 325.4)

  • #886BCD

    #886BCD

    oklch(60% 0.146 295.3)

  • #C15684

    #C15684

    oklch(60% 0.146 355.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB5EAF

    #AB5EAF

    oklch(60% 0.145 325.4)

  • #7E8900

    #7E8900

    oklch(60% 0.136 115.3)

  • #00967D

    #00967D

    oklch(60.1% 0.113 175.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5EAF

    #AB5EAF

    oklch(60% 0.145 325.4)

  • #A17900

    #A17900

    oklch(59.9% 0.123 85.3)

  • #00919E

    #00919E

    oklch(60% 0.103 205.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5EAF

    #AB5EAF

    oklch(60% 0.145 325.4)

  • #C06409

    #C06409

    oklch(60% 0.146 55.2)

  • #3C9646

    #3C9646

    oklch(60% 0.145 145.5)

  • #008BC1

    #008BC1

    oklch(60.1% 0.127 234.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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