#AB7FF4

Closest named color: Light Purple (#BF77F6). oklch(68.9% 0.17 299.3), rgb(171, 127, 244).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.170)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.07:1
White text2.96:1

Values

HEX#AB7FF4
RGBrgb(171, 127, 244)
HSLhsl(263, 84%, 73%)
OKLCHoklch(68.9% 0.17 299.3)

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 #AB7FF4 2.96:1 Fails Lc -61.4 Content text, not long reading
Black text on #AB7FF4 7.07:1 AAA Lc 48.0 Large or bold text, headings
#AB7FF4 text on white 2.96:1 Fails Lc 56.0 Large or bold text, headings
#AB7FF4 text on black 7.07:1 AAA Lc -45.7 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

    #F7F4FE

    oklch(97.2% 0.014 299.8)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DED1FB

    oklch(88.4% 0.059 299.3)

  4. Step 300

    300

    #CAB1FC

    oklch(80.8% 0.107 299.3)

  5. Step 400

    400 (this color)

    #AB7FF4

    oklch(68.9% 0.17 299.3)

  6. Step 500

    500

    #9F60F7

    oklch(63.2% 0.217 299.3)

  7. Step 600

    600

    #8B3EE6

    oklch(55.6% 0.237 299.3)

  8. Step 700

    700

    #762EC8

    oklch(49.1% 0.22 299.1)

  9. Step 800

    800

    #6029A2

    oklch(42.8% 0.182 299.1)

  10. Step 900

    900

    #4E2880

    oklch(37.7% 0.141 299.3)

  11. Step 950

    950

    #2D194B

    oklch(27% 0.089 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB7FF4 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)#5996F80.113
Deuteranopia (no green cones)#6395F10.105
Tritanopia (no blue cones)#9C95AE0.133
Achromatopsia (no color)#9696960.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FF4

    #AB7FF4

    oklch(68.9% 0.17 299.3)

  • #90A800

    #90A800

    oklch(68.9% 0.163 119.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FF4

    #AB7FF4

    oklch(68.9% 0.17 299.3)

  • #7393FF

    #7393FF

    oklch(68.9% 0.163 269.4)

  • #D36FCE

    #D36FCE

    oklch(68.9% 0.171 329.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FF4

    #AB7FF4

    oklch(68.9% 0.17 299.3)

  • #BE9500

    #BE9500

    oklch(68.9% 0.141 88.9)

  • #36B75D

    #36B75D

    oklch(68.9% 0.17 149.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FF4

    #AB7FF4

    oklch(68.9% 0.17 299.3)

  • #E27D00

    #E27D00

    oklch(68.8% 0.163 59.1)

  • #00B49D

    #00B49D

    oklch(68.9% 0.126 179.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7FF4

    #AB7FF4

    oklch(68.9% 0.17 299.3)

  • #F26B5A

    #F26B5A

    oklch(69% 0.17 29.4)

  • #90A800

    #90A800

    oklch(68.9% 0.163 119.4)

  • #00AEC3

    #00AEC3

    oklch(68.8% 0.119 209.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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