#8A2DFA

Closest named color: Vivid Purple (#9900FA). oklch(55.6% 0.271 296.6), rgb(138, 45, 250).

Aa

White text reads best on this color (5.47:1).

About this color

#8A2DFA is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.271 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vivid Purple (#9900FA), ΔE 0.037 away. White text reads best on it, at 5.47:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.271)
Temperaturein between
Nearest nameVivid Purple (#9900FA)
Black text3.83:1
White text5.47:1

Values

HEX#8A2DFA
RGBrgb(138, 45, 250)
HSLhsl(267, 95%, 58%)
OKLCHoklch(55.6% 0.271 296.6)

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 #8A2DFA 5.47:1 AA Lc -81.2 Fine for body text
Black text on #8A2DFA 3.83:1 AA large text Lc 28.2 Dividers and decoration only
#8A2DFA text on white 5.47:1 AA Lc 75.9 Fine for body text
#8A2DFA text on black 3.83:1 AA large text Lc -25.9 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #ECE6FF

    oklch(93.7% 0.034 296.7)

  3. Step 200

    200

    #DDD1FF

    oklch(88.5% 0.064 297)

  4. Step 300

    300

    #C7B2FF

    oklch(80.9% 0.109 296.4)

  5. Step 400

    400

    #AD85FF

    oklch(70.7% 0.175 296.8)

  6. Step 500

    500

    #9B5FFF

    oklch(63.2% 0.227 296.6)

  7. Step 600

    600 (this color)

    #8A2DFA

    oklch(55.6% 0.271 296.6)

  8. Step 700

    700

    #7619DA

    oklch(49.1% 0.252 296.8)

  9. Step 800

    800

    #5F1CB0

    oklch(42.7% 0.209 296.5)

  10. Step 900

    900

    #4D228B

    oklch(37.7% 0.162 296.4)

  11. Step 950

    950

    #2D1651

    oklch(27% 0.102 296.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A2DFA 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)#006AFF0.162
Deuteranopia (no green cones)#0066F60.161
Tritanopia (no blue cones)#6B6B970.205
Achromatopsia (no color)#6969690.273

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A2DFA

    #8A2DFA

    oklch(55.6% 0.271 296.6)

  • #6F7C00

    #6F7C00

    oklch(55.6% 0.128 116.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A2DFA

    #8A2DFA

    oklch(55.6% 0.271 296.6)

  • #335DFF

    #335DFF

    oklch(55.7% 0.244 266.6)

  • #B900C0

    #B900C0

    oklch(55.6% 0.258 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A2DFA

    #8A2DFA

    oklch(55.6% 0.271 296.6)

  • #906E00

    #906E00

    oklch(55.7% 0.114 87.1)

  • #008C2F

    #008C2F

    oklch(55.7% 0.167 146.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A2DFA

    #8A2DFA

    oklch(55.6% 0.271 296.6)

  • #AD5A00

    #AD5A00

    oklch(55.6% 0.136 56.3)

  • #008772

    #008772

    oklch(55.7% 0.104 176.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A2DFA

    #8A2DFA

    oklch(55.6% 0.271 296.6)

  • #D8001A

    #D8001A

    oklch(55.5% 0.226 26.6)

  • #6F7C00

    #6F7C00

    oklch(55.6% 0.128 116.8)

  • #00838F

    #00838F

    oklch(55.7% 0.095 206.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #8A2DFA 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.