#A766DE

Closest named color: Medium Purple (#9370DB). oklch(63.3% 0.181 307), rgb(167, 102, 222).

Aa

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

About this color

#A766DE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.181 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.039 away. Black text reads best on it, at 5.59:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.181)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.59:1
White text3.75:1

Values

HEX#A766DE
RGBrgb(167, 102, 222)
HSLhsl(273, 65%, 64%)
OKLCHoklch(63.3% 0.181 307)

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 #A766DE 3.75:1 AA large text Lc -70.2 Content text, not long reading
Black text on #A766DE 5.59:1 AA Lc 39.4 Non-text elements, placeholder text
#A766DE text on white 3.75:1 AA large text Lc 64.7 Content text, not long reading
#A766DE text on black 5.59:1 AA Lc -37.0 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E2D1F3

    oklch(88.5% 0.049 307.8)

  4. Step 300

    300

    #D0B2EE

    oklch(81% 0.089 307.2)

  5. Step 400

    400

    #B887E5

    oklch(70.7% 0.142 307.1)

  6. Step 500

    500 (this color)

    #A766DE

    oklch(63.3% 0.181 307)

  7. Step 600

    600

    #9249CB

    oklch(55.7% 0.197 306.9)

  8. Step 700

    700

    #7C39AF

    oklch(49.1% 0.182 306.9)

  9. Step 800

    800

    #65308E

    oklch(42.7% 0.152 307)

  10. Step 900

    900

    #522C71

    oklch(37.7% 0.117 307.1)

  11. Step 950

    950

    #301B42

    oklch(27% 0.073 307)

Export this scale for Tailwind in the Tailwind colors tool

#A766DE 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)#3F81E20.145
Deuteranopia (no green cones)#5584DB0.130
Tritanopia (no blue cones)#9F7C980.132
Achromatopsia (no color)#8484840.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #A766DE

    #A766DE

    oklch(63.3% 0.181 307)

  • #6F9B00

    #6F9B00

    oklch(63.4% 0.164 127.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A766DE

    #A766DE

    oklch(63.3% 0.181 307)

  • #717AF5

    #717AF5

    oklch(63.4% 0.181 276.8)

  • #CB56B1

    #CB56B1

    oklch(63.2% 0.182 337)

Open the analogous palette in the generator

Split complementary

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

  • #A766DE

    #A766DE

    oklch(63.3% 0.181 307)

  • #A18900

    #A18900

    oklch(63.3% 0.13 96.7)

  • #00A464

    #00A464

    oklch(63.3% 0.15 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A766DE

    #A766DE

    oklch(63.3% 0.181 307)

  • #C17600

    #C17600

    oklch(63.2% 0.14 66.8)

  • #009F95

    #009F95

    oklch(63.3% 0.11 187)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A766DE

    #A766DE

    oklch(63.3% 0.181 307)

  • #E1572D

    #E1572D

    oklch(63.2% 0.181 37)

  • #6F9B00

    #6F9B00

    oklch(63.4% 0.164 127.1)

  • #009AB6

    #009AB6

    oklch(63.3% 0.113 216.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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