#7B56EA

Closest named color: Purpley (#8756E4). oklch(57.3% 0.212 289.5), rgb(123, 86, 234).

Aa

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

About this color

#7B56EA is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.212 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.023 away. White text reads best on it, at 4.81:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.212)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.36:1
White text4.81:1

Values

HEX#7B56EA
RGBrgb(123, 86, 234)
HSLhsl(255, 78%, 63%)
OKLCHoklch(57.3% 0.212 289.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 #7B56EA 4.81:1 AA Lc -78.3 Fine for body text
Black text on #7B56EA 4.36:1 AA large text Lc 31.2 Non-text elements, placeholder text
#7B56EA text on white 4.81:1 AA Lc 72.9 Content text, not long reading
#7B56EA text on black 4.36:1 AA large text Lc -28.8 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D8D4FB

    oklch(88.5% 0.053 290)

  4. Step 300

    300

    #BFB7FB

    oklch(81% 0.095 289.5)

  5. Step 400

    400

    #A08EF9

    oklch(70.8% 0.153 289.6)

  6. Step 500

    500

    #8A6DF5

    oklch(63% 0.195 289.4)

  7. Step 600

    600 (this color)

    #7B56EA

    oklch(57.3% 0.212 289.5)

  8. Step 700

    700

    #643FC6

    oklch(49% 0.198 289.7)

  9. Step 800

    800

    #5136A0

    oklch(42.7% 0.163 289.4)

  10. Step 900

    900

    #43307F

    oklch(37.7% 0.128 290)

  11. Step 950

    950

    #271D4A

    oklch(27% 0.08 290.2)

Export this scale for Tailwind in the Tailwind colors tool

#7B56EA 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)#0075EF0.118
Deuteranopia (no green cones)#006EE70.116
Tritanopia (no blue cones)#5779980.172
Achromatopsia (no color)#7272720.213

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B56EA

    #7B56EA

    oklch(57.3% 0.212 289.5)

  • #7E7E00

    #7E7E00

    oklch(57.4% 0.125 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B56EA

    #7B56EA

    oklch(57.3% 0.212 289.5)

  • #176FF2

    #176FF2

    oklch(57.3% 0.212 259.6)

  • #AB3FC5

    #AB3FC5

    oklch(57.3% 0.213 319.2)

Open the analogous palette in the generator

Split complementary

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

  • #7B56EA

    #7B56EA

    oklch(57.3% 0.212 289.5)

  • #9D6F00

    #9D6F00

    oklch(57.4% 0.119 79.8)

  • #2F9000

    #2F9000

    oklch(57.4% 0.183 139.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B56EA

    #7B56EA

    oklch(57.3% 0.212 289.5)

  • #BD5600

    #BD5600

    oklch(57.3% 0.153 49.2)

  • #008D6D

    #008D6D

    oklch(57.2% 0.114 169.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B56EA

    #7B56EA

    oklch(57.3% 0.212 289.5)

  • #D92342

    #D92342

    oklch(57.3% 0.212 19.4)

  • #7E7E00

    #7E7E00

    oklch(57.4% 0.125 109.8)

  • #00898E

    #00898E

    oklch(57.2% 0.097 199.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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