#AB7FE3

Closest named color: Light Purple (#BF77F6). oklch(68% 0.149 303), rgb(171, 127, 227).

Aa

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

About this color

#AB7FE3 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.149 and its hue 303°. 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.87:1.

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

Values

HEX#AB7FE3
RGBrgb(171, 127, 227)
HSLhsl(266, 64%, 69%)
OKLCHoklch(68% 0.149 303)

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 #AB7FE3 3.05:1 AA large text Lc -62.6 Content text, not long reading
Black text on #AB7FE3 6.87:1 AA Lc 46.8 Large or bold text, headings
#AB7FE3 text on white 3.05:1 AA large text Lc 57.2 Large or bold text, headings
#AB7FE3 text on black 6.87:1 AA Lc -44.5 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

    #E0D2F6

    oklch(88.6% 0.051 303)

  4. Step 300

    300

    #CCB2F3

    oklch(80.8% 0.094 302.7)

  5. Step 400

    400 (this color)

    #AB7FE3

    oklch(68% 0.149 303)

  6. Step 500

    500

    #A265E6

    oklch(63.1% 0.191 303.2)

  7. Step 600

    600

    #8D48D4

    oklch(55.6% 0.206 302.8)

  8. Step 700

    700

    #7838B8

    oklch(49.1% 0.192 302.7)

  9. Step 800

    800

    #622F95

    oklch(42.7% 0.16 303.1)

  10. Step 900

    900

    #502C76

    oklch(37.8% 0.123 303.4)

  11. Step 950

    950

    #2E1B45

    oklch(27% 0.077 302.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB7FE3 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)#6493E70.103
Deuteranopia (no green cones)#6E93E00.095
Tritanopia (no blue cones)#A190A60.113
Achromatopsia (no color)#9393930.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FE3

    #AB7FE3

    oklch(68% 0.149 303)

  • #87A62C

    #87A62C

    oklch(67.9% 0.149 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FE3

    #AB7FE3

    oklch(68% 0.149 303)

  • #7B8FF3

    #7B8FF3

    oklch(67.9% 0.149 273.3)

  • #CD72BF

    #CD72BF

    oklch(67.9% 0.149 333)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FE3

    #AB7FE3

    oklch(68% 0.149 303)

  • #B69500

    #B69500

    oklch(68% 0.139 93)

  • #3CB26A

    #3CB26A

    oklch(68% 0.149 152.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FE3

    #AB7FE3

    oklch(68% 0.149 303)

  • #D78018

    #D78018

    oklch(67.9% 0.149 62.7)

  • #00B09F

    #00B09F

    oklch(68% 0.121 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7FE3

    #AB7FE3

    oklch(68% 0.149 303)

  • #E5715A

    #E5715A

    oklch(68% 0.149 32.6)

  • #87A62C

    #87A62C

    oklch(67.9% 0.149 123)

  • #00ABC4

    #00ABC4

    oklch(68.1% 0.119 212.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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