#8A4CEC

Closest named color: Purpley (#8756E4). oklch(57.6% 0.227 296.3), rgb(138, 76, 236).

Aa

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

About this color

#8A4CEC is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.227 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.023 away. White text reads best on it, at 4.85:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.227)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.32:1
White text4.85:1

Values

HEX#8A4CEC
RGBrgb(138, 76, 236)
HSLhsl(263, 81%, 61%)
OKLCHoklch(57.6% 0.227 296.3)

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 #8A4CEC 4.85:1 AA Lc -78.4 Fine for body text
Black text on #8A4CEC 4.32:1 AA large text Lc 31.1 Non-text elements, placeholder text
#8A4CEC text on white 4.85:1 AA Lc 73.0 Content text, not long reading
#8A4CEC text on black 4.32:1 AA large text Lc -28.7 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200

    #DCD2FB

    oklch(88.5% 0.057 296.4)

  4. Step 300

    300

    #C6B3FB

    oklch(80.8% 0.102 296.2)

  5. Step 400

    400

    #AB88FA

    oklch(70.7% 0.164 296.1)

  6. Step 500

    500

    #9865F6

    oklch(63.1% 0.208 296.1)

  7. Step 600

    600 (this color)

    #8A4CEC

    oklch(57.6% 0.227 296.3)

  8. Step 700

    700

    #7035C7

    oklch(49.1% 0.211 296.1)

  9. Step 800

    800

    #5B2EA1

    oklch(42.7% 0.174 296.1)

  10. Step 900

    900

    #4A2B80

    oklch(37.7% 0.137 295.9)

  11. Step 950

    950

    #2B1A4B

    oklch(26.9% 0.087 296)

Export this scale for Tailwind in the Tailwind colors tool

#8A4CEC 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)#0072F10.145
Deuteranopia (no green cones)#006FE90.146
Tritanopia (no blue cones)#7173960.176
Achromatopsia (no color)#7171710.229

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A4CEC

    #8A4CEC

    oklch(57.6% 0.227 296.3)

  • #758200

    #758200

    oklch(57.6% 0.132 116.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A4CEC

    #8A4CEC

    oklch(57.6% 0.227 296.3)

  • #3A67FC

    #3A67FC

    oklch(57.4% 0.227 266.3)

  • #B832BE

    #B832BE

    oklch(57.5% 0.227 326.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A4CEC

    #8A4CEC

    oklch(57.6% 0.227 296.3)

  • #987300

    #987300

    oklch(57.6% 0.118 86.1)

  • #00922F

    #00922F

    oklch(57.4% 0.174 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A4CEC

    #8A4CEC

    oklch(57.6% 0.227 296.3)

  • #B55F00

    #B55F00

    oklch(57.6% 0.14 56.6)

  • #008D77

    #008D77

    oklch(57.5% 0.107 176.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A4CEC

    #8A4CEC

    oklch(57.6% 0.227 296.3)

  • #E01323

    #E01323

    oklch(57.6% 0.227 26.2)

  • #758200

    #758200

    oklch(57.6% 0.132 116.5)

  • #008996

    #008996

    oklch(57.6% 0.099 206.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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