#7540B6

Closest named color: Bluey Purple (#6241C7). oklch(49.7% 0.179 300.7), rgb(117, 64, 182).

Aa

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

About this color

#7540B6 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.179 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.044 away. White text reads best on it, at 6.63:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.179)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.16:1
White text6.63:1

Values

HEX#7540B6
RGBrgb(117, 64, 182)
HSLhsl(267, 48%, 48%)
OKLCHoklch(49.7% 0.179 300.7)

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 #7540B6 6.63:1 AA Lc -87.3 Fine for body text
Black text on #7540B6 3.16:1 AA large text Lc 21.8 Dividers and decoration only
#7540B6 text on white 6.63:1 AA Lc 82.3 Fine for body text
#7540B6 text on black 3.16:1 AA large text Lc -19.6 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 700.

  1. Step 50

    50

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE6F8

    oklch(93.5% 0.025 301.1)

  3. Step 200

    200

    #DED2F5

    oklch(88.4% 0.049 301)

  4. Step 300

    300

    #C9B4F0

    oklch(80.8% 0.086 300.5)

  5. Step 400

    400

    #AF8BE9

    oklch(70.7% 0.138 300.6)

  6. Step 500

    500

    #9C6AE2

    oklch(63% 0.177 300.6)

  7. Step 600

    600

    #884ED0

    oklch(55.6% 0.193 300.8)

  8. Step 700

    700 (this color)

    #7540B6

    oklch(49.7% 0.179 300.7)

  9. Step 800

    800

    #5E3492

    oklch(42.7% 0.149 300.8)

  10. Step 900

    900

    #4C2F74

    oklch(37.6% 0.115 300.4)

  11. Step 950

    950

    #2D1C44

    oklch(27% 0.073 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#7540B6 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)#005CBA0.132
Deuteranopia (no green cones)#095CB30.131
Tritanopia (no blue cones)#675A750.134
Achromatopsia (no color)#5D5D5D0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #7540B6

    #7540B6

    oklch(49.7% 0.179 300.7)

  • #596C00

    #596C00

    oklch(49.8% 0.119 121)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7540B6

    #7540B6

    oklch(49.7% 0.179 300.7)

  • #3F54C6

    #3F54C6

    oklch(49.7% 0.178 270.6)

  • #972E90

    #972E90

    oklch(49.6% 0.179 330.7)

Open the analogous palette in the generator

Split complementary

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

  • #7540B6

    #7540B6

    oklch(49.7% 0.179 300.7)

  • #785F00

    #785F00

    oklch(49.6% 0.101 90.8)

  • #007736

    #007736

    oklch(49.8% 0.136 150.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7540B6

    #7540B6

    oklch(49.7% 0.179 300.7)

  • #905000

    #905000

    oklch(49.7% 0.115 61.1)

  • #007365

    #007365

    oklch(49.8% 0.09 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7540B6

    #7540B6

    oklch(49.7% 0.179 300.7)

  • #B22514

    #B22514

    oklch(49.8% 0.179 30.7)

  • #596C00

    #596C00

    oklch(49.8% 0.119 121)

  • #006F7E

    #006F7E

    oklch(49.7% 0.086 211)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7540B6 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.