#AB7EF6

Closest named color: Light Urple (#B36FF6). oklch(68.8% 0.174 299.1), rgb(171, 126, 246).

Aa

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

About this color

#AB7EF6 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.174 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.034 away. Black text reads best on it, at 7.04:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.174)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text7.04:1
White text2.98:1

Values

HEX#AB7EF6
RGBrgb(171, 126, 246)
HSLhsl(263, 87%, 73%)
OKLCHoklch(68.8% 0.174 299.1)

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 #AB7EF6 2.98:1 Fails Lc -61.5 Content text, not long reading
Black text on #AB7EF6 7.04:1 AAA Lc 47.9 Large or bold text, headings
#AB7EF6 text on white 2.98:1 Fails Lc 56.2 Large or bold text, headings
#AB7EF6 text on black 7.04:1 AAA Lc -45.6 Large or bold text, headings

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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #ECE6FD

    oklch(93.6% 0.031 297.7)

  3. Step 200

    200

    #DED1FC

    oklch(88.5% 0.06 299)

  4. Step 300

    300

    #CAB1FD

    oklch(80.9% 0.108 299.1)

  5. Step 400

    400 (this color)

    #AB7EF6

    oklch(68.8% 0.174 299.1)

  6. Step 500

    500

    #9F5EFA

    oklch(63.1% 0.223 299.1)

  7. Step 600

    600

    #8B3CE9

    oklch(55.6% 0.242 299)

  8. Step 700

    700

    #772BCB

    oklch(49.2% 0.226 299.2)

  9. Step 800

    800

    #6027A4

    oklch(42.7% 0.186 298.9)

  10. Step 900

    900

    #4E2782

    oklch(37.7% 0.145 298.9)

  11. Step 950

    950

    #2E184C

    oklch(27% 0.092 299.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB7EF6 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)#5695FA0.116
Deuteranopia (no green cones)#6194F30.107
Tritanopia (no blue cones)#9C94AF0.134
Achromatopsia (no color)#9595950.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7EF6

    #AB7EF6

    oklch(68.8% 0.174 299.1)

  • #91A800

    #91A800

    oklch(68.9% 0.162 119)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7EF6

    #AB7EF6

    oklch(68.8% 0.174 299.1)

  • #7293FF

    #7293FF

    oklch(68.8% 0.163 269)

  • #D46ECF

    #D46ECF

    oklch(68.9% 0.174 329.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB7EF6

    #AB7EF6

    oklch(68.8% 0.174 299.1)

  • #BE9500

    #BE9500

    oklch(68.9% 0.141 88.9)

  • #31B75A

    #31B75A

    oklch(68.8% 0.174 149.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7EF6

    #AB7EF6

    oklch(68.8% 0.174 299.1)

  • #E27D00

    #E27D00

    oklch(68.8% 0.163 59.1)

  • #00B49C

    #00B49C

    oklch(68.9% 0.126 178.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7EF6

    #AB7EF6

    oklch(68.8% 0.174 299.1)

  • #F36958

    #F36958

    oklch(68.8% 0.173 29.3)

  • #91A800

    #91A800

    oklch(68.9% 0.162 119)

  • #00AEC2

    #00AEC2

    oklch(68.7% 0.119 209.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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