#AB7DE2

Closest named color: Light Purple (#BF77F6). oklch(67.6% 0.151 303.6), rgb(171, 125, 226).

Aa

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

About this color

#AB7DE2 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.151 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.047 away. Black text reads best on it, at 6.76:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.151)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.76:1
White text3.10:1

Values

HEX#AB7DE2
RGBrgb(171, 125, 226)
HSLhsl(267, 64%, 69%)
OKLCHoklch(67.6% 0.151 303.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 #AB7DE2 3.10:1 AA large text Lc -63.2 Content text, not long reading
Black text on #AB7DE2 6.76:1 AA Lc 46.2 Large or bold text, headings
#AB7DE2 text on white 3.10:1 AA large text Lc 57.9 Large or bold text, headings
#AB7DE2 text on black 6.76:1 AA Lc -43.9 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 400.

  1. Step 50

    50

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #E0D1F6

    oklch(88.4% 0.053 303.7)

  4. Step 300

    300

    #CDB2F3

    oklch(80.9% 0.094 303.4)

  5. Step 400

    400 (this color)

    #AB7DE2

    oklch(67.6% 0.151 303.6)

  6. Step 500

    500

    #A364E6

    oklch(63% 0.192 303.7)

  7. Step 600

    600

    #8F46D4

    oklch(55.6% 0.209 303.9)

  8. Step 700

    700

    #7A36B8

    oklch(49.1% 0.195 303.9)

  9. Step 800

    800

    #632E95

    oklch(42.7% 0.162 303.8)

  10. Step 900

    900

    #502B77

    oklch(37.7% 0.126 303.3)

  11. Step 950

    950

    #2F1A46

    oklch(27% 0.081 303.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB7DE2 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)#6291E60.105
Deuteranopia (no green cones)#6D92DF0.097
Tritanopia (no blue cones)#A28EA50.113
Achromatopsia (no color)#9292920.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7DE2

    #AB7DE2

    oklch(67.6% 0.151 303.6)

  • #85A629

    #85A629

    oklch(67.7% 0.151 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7DE2

    #AB7DE2

    oklch(67.6% 0.151 303.6)

  • #7A8EF3

    #7A8EF3

    oklch(67.6% 0.151 273.3)

  • #CD70BD

    #CD70BD

    oklch(67.5% 0.151 333.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB7DE2

    #AB7DE2

    oklch(67.6% 0.151 303.6)

  • #B49400

    #B49400

    oklch(67.6% 0.139 93.4)

  • #35B16A

    #35B16A

    oklch(67.6% 0.151 153.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7DE2

    #AB7DE2

    oklch(67.6% 0.151 303.6)

  • #D67F0B

    #D67F0B

    oklch(67.6% 0.151 63.6)

  • #00AE9F

    #00AE9F

    oklch(67.5% 0.119 184.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7DE2

    #AB7DE2

    oklch(67.6% 0.151 303.6)

  • #E46F56

    #E46F56

    oklch(67.5% 0.151 33.4)

  • #85A629

    #85A629

    oklch(67.7% 0.151 123.6)

  • #00A9C3

    #00A9C3

    oklch(67.6% 0.119 213.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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