#A766FE

Closest named color: Lighter Purple (#A55AF4). oklch(65.3% 0.218 300.1), rgb(167, 102, 254).

Aa

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

About this color

#A766FE is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.218 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.028 away. Black text reads best on it, at 5.97:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.218)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.97:1
White text3.51:1

Values

HEX#A766FE
RGBrgb(167, 102, 254)
HSLhsl(266, 99%, 70%)
OKLCHoklch(65.3% 0.218 300.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 #A766FE 3.51:1 AA large text Lc -67.7 Content text, not long reading
Black text on #A766FE 5.97:1 AA Lc 41.8 Non-text elements, placeholder text
#A766FE text on white 3.51:1 AA large text Lc 62.2 Content text, not long reading
#A766FE text on black 5.97:1 AA Lc -39.4 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FC

    oklch(93.7% 0.03 300.3)

  3. Step 200

    200

    #DFD1FB

    oklch(88.5% 0.059 300.4)

  4. Step 300

    300

    #CBB1FB

    oklch(80.9% 0.106 300.2)

  5. Step 400

    400

    #B284FA

    oklch(70.7% 0.171 300)

  6. Step 500

    500 (this color)

    #A766FE

    oklch(65.3% 0.218 300.1)

  7. Step 600

    600

    #8C3DE5

    oklch(55.5% 0.237 300)

  8. Step 700

    700

    #782DC7

    oklch(49.1% 0.22 300.3)

  9. Step 800

    800

    #6128A1

    oklch(42.7% 0.182 300.1)

  10. Step 900

    900

    #4F2780

    oklch(37.7% 0.143 300.2)

  11. Step 950

    950

    #2E184B

    oklch(26.9% 0.091 300.2)

Export this scale for Tailwind in the Tailwind colors tool

#A766FE 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)#0088FF0.166
Deuteranopia (no green cones)#3188FB0.153
Tritanopia (no blue cones)#9486A90.164
Achromatopsia (no color)#8989890.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #A766FE

    #A766FE

    oklch(65.3% 0.218 300.1)

  • #849D00

    #849D00

    oklch(65.3% 0.156 120.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A766FE

    #A766FE

    oklch(65.3% 0.218 300.1)

  • #6684FF

    #6684FF

    oklch(65.2% 0.185 270.3)

  • #D550CD

    #D550CD

    oklch(65.2% 0.218 330.2)

Open the analogous palette in the generator

Split complementary

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

  • #A766FE

    #A766FE

    oklch(65.3% 0.218 300.1)

  • #AF8B00

    #AF8B00

    oklch(65.2% 0.133 90.3)

  • #00AD50

    #00AD50

    oklch(65.4% 0.179 150.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A766FE

    #A766FE

    oklch(65.3% 0.218 300.1)

  • #D27500

    #D27500

    oklch(65.3% 0.153 59.8)

  • #00A793

    #00A793

    oklch(65.3% 0.118 180.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A766FE

    #A766FE

    oklch(65.3% 0.218 300.1)

  • #F94633

    #F94633

    oklch(65.3% 0.218 30)

  • #849D00

    #849D00

    oklch(65.3% 0.156 120.4)

  • #00A2B6

    #00A2B6

    oklch(65.3% 0.113 210.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A766FE.

Similar named colors

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

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