#A26FE4

Closest named color: Medium Purple (#9370DB). oklch(64.5% 0.173 301.9), rgb(162, 111, 228).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.173)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.93:1
White text3.54:1

Values

HEX#A26FE4
RGBrgb(162, 111, 228)
HSLhsl(266, 68%, 66%)
OKLCHoklch(64.5% 0.173 301.9)

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 #A26FE4 3.54:1 AA large text Lc -68.2 Content text, not long reading
Black text on #A26FE4 5.93:1 AA Lc 41.4 Non-text elements, placeholder text
#A26FE4 text on white 3.54:1 AA large text Lc 62.7 Content text, not long reading
#A26FE4 text on black 5.93:1 AA Lc -39.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DED2F4

    oklch(88.4% 0.048 301.5)

  4. Step 300

    300

    #CAB4EF

    oklch(80.9% 0.085 301.6)

  5. Step 400

    400

    #B08BE7

    oklch(70.7% 0.136 301.6)

  6. Step 500

    500 (this color)

    #A26FE4

    oklch(64.5% 0.173 301.9)

  7. Step 600

    600

    #894FCD

    oklch(55.6% 0.188 301.8)

  8. Step 700

    700

    #743FB1

    oklch(49.1% 0.174 301.6)

  9. Step 800

    800

    #5F3590

    oklch(42.8% 0.145 301.8)

  10. Step 900

    900

    #4D2F73

    oklch(37.7% 0.114 301.5)

  11. Step 950

    950

    #2D1C43

    oklch(26.9% 0.072 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#A26FE4 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)#4787E80.125
Deuteranopia (no green cones)#5688E10.115
Tritanopia (no blue cones)#95859F0.132
Achromatopsia (no color)#8888880.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #A26FE4

    #A26FE4

    oklch(64.5% 0.173 301.9)

  • #7F9B00

    #7F9B00

    oklch(64.5% 0.156 121.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A26FE4

    #A26FE4

    oklch(64.5% 0.173 301.9)

  • #6A82F6

    #6A82F6

    oklch(64.5% 0.174 271.9)

  • #C860BC

    #C860BC

    oklch(64.6% 0.173 331.9)

Open the analogous palette in the generator

Split complementary

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

  • #A26FE4

    #A26FE4

    oklch(64.5% 0.173 301.9)

  • #AB8A00

    #AB8A00

    oklch(64.6% 0.132 91.8)

  • #00AA56

    #00AA56

    oklch(64.6% 0.17 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A26FE4

    #A26FE4

    oklch(64.5% 0.173 301.9)

  • #CC7500

    #CC7500

    oklch(64.5% 0.149 61.9)

  • #00A493

    #00A493

    oklch(64.5% 0.115 182.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A26FE4

    #A26FE4

    oklch(64.5% 0.173 301.9)

  • #E35C45

    #E35C45

    oklch(64.5% 0.173 31.8)

  • #7F9B00

    #7F9B00

    oklch(64.5% 0.156 121.6)

  • #009FB5

    #009FB5

    oklch(64.5% 0.112 211.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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