#7A56DA

Closest named color: Purpley (#8756E4). oklch(56.1% 0.193 291.5), rgb(122, 86, 218).

Aa

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

About this color

#7A56DA is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.193 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.027 away. White text reads best on it, at 5.03:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.193)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.17:1
White text5.03:1

Values

HEX#7A56DA
RGBrgb(122, 86, 218)
HSLhsl(256, 64%, 60%)
OKLCHoklch(56.1% 0.193 291.5)

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 #7A56DA 5.03:1 AA Lc -79.8 Fine for body text
Black text on #7A56DA 4.17:1 AA large text Lc 29.7 Dividers and decoration only
#7A56DA text on white 5.03:1 AA Lc 74.4 Content text, not long reading
#7A56DA text on black 4.17:1 AA large text Lc -27.3 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #EAE7FA

    oklch(93.6% 0.026 293.1)

  3. Step 200

    200

    #D9D4F7

    oklch(88.5% 0.048 291.9)

  4. Step 300

    300

    #C1B7F5

    oklch(80.9% 0.087 291.7)

  5. Step 400

    400

    #A28FF0

    oklch(70.7% 0.14 291.4)

  6. Step 500

    500

    #8D70EA

    oklch(63.1% 0.177 291.4)

  7. Step 600

    600 (this color)

    #7A56DA

    oklch(56.1% 0.193 291.5)

  8. Step 700

    700

    #6644BC

    oklch(49.2% 0.179 291.4)

  9. Step 800

    800

    #533998

    oklch(42.8% 0.148 291.5)

  10. Step 900

    900

    #443279

    oklch(37.7% 0.116 291.5)

  11. Step 950

    950

    #281E47

    oklch(27% 0.074 292)

Export this scale for Tailwind in the Tailwind colors tool

#7A56DA 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)#0071DE0.118
Deuteranopia (no green cones)#006CD70.117
Tritanopia (no blue cones)#5E74900.155
Achromatopsia (no color)#6F6F6F0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A56DA

    #7A56DA

    oklch(56.1% 0.193 291.5)

  • #787B00

    #787B00

    oklch(56.2% 0.124 111.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A56DA

    #7A56DA

    oklch(56.1% 0.193 291.5)

  • #2D6CE3

    #2D6CE3

    oklch(56% 0.193 261.6)

  • #A642B7

    #A642B7

    oklch(56.1% 0.194 321.6)

Open the analogous palette in the generator

Split complementary

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

  • #7A56DA

    #7A56DA

    oklch(56.1% 0.193 291.5)

  • #966C00

    #966C00

    oklch(55.9% 0.115 81.6)

  • #188D00

    #188D00

    oklch(56% 0.186 141.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A56DA

    #7A56DA

    oklch(56.1% 0.193 291.5)

  • #B45600

    #B45600

    oklch(56% 0.145 51.6)

  • #00896D

    #00896D

    oklch(56.1% 0.109 171.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A56DA

    #7A56DA

    oklch(56.1% 0.193 291.5)

  • #CD303E

    #CD303E

    oklch(56% 0.192 21.7)

  • #787B00

    #787B00

    oklch(56.2% 0.124 111.5)

  • #00858C

    #00858C

    oklch(56.1% 0.095 201.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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