#7B56DF

Closest named color: Purpley (#8756E4). oklch(56.5% 0.199 291.1), rgb(123, 86, 223).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.199)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.23:1
White text4.95:1

Values

HEX#7B56DF
RGBrgb(123, 86, 223)
HSLhsl(256, 68%, 61%)
OKLCHoklch(56.5% 0.199 291.1)

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 #7B56DF 4.95:1 AA Lc -79.3 Fine for body text
Black text on #7B56DF 4.23:1 AA large text Lc 30.2 Non-text elements, placeholder text
#7B56DF text on white 4.95:1 AA Lc 73.8 Content text, not long reading
#7B56DF text on black 4.23:1 AA large text Lc -27.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D9D4F8

    oklch(88.5% 0.049 291.7)

  4. Step 300

    300

    #C0B7F7

    oklch(80.9% 0.09 290.7)

  5. Step 400

    400

    #A28FF2

    oklch(70.8% 0.142 291.1)

  6. Step 500

    500

    #8D6FEE

    oklch(63.1% 0.184 291.1)

  7. Step 600

    600 (this color)

    #7B56DF

    oklch(56.5% 0.199 291.1)

  8. Step 700

    700

    #6642BF

    oklch(49.1% 0.186 291.3)

  9. Step 800

    800

    #53389A

    oklch(42.8% 0.152 291.3)

  10. Step 900

    900

    #44327B

    oklch(37.8% 0.119 291)

  11. Step 950

    950

    #271E48

    oklch(27% 0.075 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#7B56DF 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)#0072E30.118
Deuteranopia (no green cones)#006DDC0.118
Tritanopia (no blue cones)#5D76920.162
Achromatopsia (no color)#7070700.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B56DF

    #7B56DF

    oklch(56.5% 0.199 291.1)

  • #7A7C00

    #7A7C00

    oklch(56.6% 0.124 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B56DF

    #7B56DF

    oklch(56.5% 0.199 291.1)

  • #296DE8

    #296DE8

    oklch(56.5% 0.199 261.1)

  • #A841BB

    #A841BB

    oklch(56.5% 0.2 321.1)

Open the analogous palette in the generator

Split complementary

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

  • #7B56DF

    #7B56DF

    oklch(56.5% 0.199 291.1)

  • #996D00

    #996D00

    oklch(56.5% 0.117 80.6)

  • #1D8E00

    #1D8E00

    oklch(56.4% 0.186 141.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B56DF

    #7B56DF

    oklch(56.5% 0.199 291.1)

  • #B75700

    #B75700

    oklch(56.6% 0.147 51.3)

  • #008A6D

    #008A6D

    oklch(56.4% 0.11 171.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B56DF

    #7B56DF

    oklch(56.5% 0.199 291.1)

  • #D12D3F

    #D12D3F

    oklch(56.5% 0.198 21.1)

  • #7A7C00

    #7A7C00

    oklch(56.6% 0.124 110.9)

  • #00868D

    #00868D

    oklch(56.4% 0.096 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 #7B56DF, closest first.

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

Similar named colors

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

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