#AF78ED

Closest named color: Light Urple (#B36FF6). oklch(67.8% 0.173 303.8), rgb(175, 120, 237).

Aa

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

About this color

#AF78ED is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.173 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.026 away. Black text reads best on it, at 6.73:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.173)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.73:1
White text3.11:1

Values

HEX#AF78ED
RGBrgb(175, 120, 237)
HSLhsl(268, 76%, 70%)
OKLCHoklch(67.8% 0.173 303.8)

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 #AF78ED 3.11:1 AA large text Lc -63.3 Content text, not long reading
Black text on #AF78ED 6.73:1 AA Lc 46.1 Large or bold text, headings
#AF78ED text on white 3.11:1 AA large text Lc 58.0 Large or bold text, headings
#AF78ED text on black 6.73:1 AA Lc -43.8 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E1D0FA

    oklch(88.5% 0.06 303.6)

  4. Step 300

    300

    #CFAFFA

    oklch(80.8% 0.109 303.6)

  5. Step 400

    400 (this color)

    #AF78ED

    oklch(67.8% 0.173 303.8)

  6. Step 500

    500

    #A85BF3

    oklch(63.2% 0.221 304)

  7. Step 600

    600

    #9438E2

    oklch(55.7% 0.24 304)

  8. Step 700

    700

    #7E27C4

    oklch(49.1% 0.224 304)

  9. Step 800

    800

    #66249F

    oklch(42.7% 0.185 303.7)

  10. Step 900

    900

    #53257E

    oklch(37.7% 0.144 303.9)

  11. Step 950

    950

    #30174A

    oklch(26.9% 0.092 303.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF78ED 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)#5490F10.127
Deuteranopia (no green cones)#6392EA0.117
Tritanopia (no blue cones)#A48DA80.129
Achromatopsia (no color)#9292920.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF78ED

    #AF78ED

    oklch(67.8% 0.173 303.8)

  • #83A700

    #83A700

    oklch(67.7% 0.167 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF78ED

    #AF78ED

    oklch(67.8% 0.173 303.8)

  • #788CFF

    #788CFF

    oklch(67.8% 0.17 273.6)

  • #D569C3

    #D569C3

    oklch(67.8% 0.173 334)

Open the analogous palette in the generator

Split complementary

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

  • #AF78ED

    #AF78ED

    oklch(67.8% 0.173 303.8)

  • #B49500

    #B49500

    oklch(67.8% 0.139 94)

  • #00B564

    #00B564

    oklch(67.8% 0.171 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF78ED

    #AF78ED

    oklch(67.8% 0.173 303.8)

  • #D77F00

    #D77F00

    oklch(67.7% 0.153 63.9)

  • #00AFA0

    #00AFA0

    oklch(67.8% 0.12 184.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF78ED

    #AF78ED

    oklch(67.8% 0.173 303.8)

  • #EE674A

    #EE674A

    oklch(67.6% 0.173 33.7)

  • #83A700

    #83A700

    oklch(67.7% 0.167 123.6)

  • #00AAC4

    #00AAC4

    oklch(67.8% 0.119 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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