#7540FF

Closest named color: Burple (#6832E3). oklch(55.7% 0.26 287.3), rgb(117, 64, 255).

Aa

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

About this color

#7540FF is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.260 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Burple (#6832E3), ΔE 0.055 away. White text reads best on it, at 5.33:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.260)
Temperaturecool
Nearest nameBurple (#6832E3)
Black text3.93:1
White text5.33:1

Values

HEX#7540FF
RGBrgb(117, 64, 255)
HSLhsl(257, 100%, 63%)
OKLCHoklch(55.7% 0.26 287.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 #7540FF 5.33:1 AA Lc -80.9 Fine for body text
Black text on #7540FF 3.93:1 AA large text Lc 28.5 Dividers and decoration only
#7540FF text on white 5.33:1 AA Lc 75.5 Fine for body text
#7540FF text on black 3.93:1 AA large text Lc -26.2 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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E8E7FF

    oklch(93.6% 0.032 287.7)

  3. Step 200

    200

    #D6D4FF

    oklch(88.5% 0.059 287.3)

  4. Step 300

    300

    #BCB7FF

    oklch(80.9% 0.101 287.1)

  5. Step 400

    400

    #9C8EFF

    oklch(70.8% 0.161 287.2)

  6. Step 500

    500

    #876BFF

    oklch(63.1% 0.211 287.5)

  7. Step 600

    600 (this color)

    #7540FF

    oklch(55.7% 0.26 287.3)

  8. Step 700

    700

    #632EDE

    oklch(49.1% 0.242 287.4)

  9. Step 800

    800

    #502AB3

    oklch(42.7% 0.199 287.3)

  10. Step 900

    900

    #41298E

    oklch(37.6% 0.157 287.2)

  11. Step 950

    950

    #261A53

    oklch(27% 0.099 287.6)

Export this scale for Tailwind in the Tailwind colors tool

#7540FF 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)#006FFF0.124
Deuteranopia (no green cones)#0066FB0.117
Tritanopia (no blue cones)#39769E0.211
Achromatopsia (no color)#6B6B6B0.262

Harmonies

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

Complementary

The opposite hue (180°).

  • #7540FF

    #7540FF

    oklch(55.7% 0.26 287.3)

  • #7C7800

    #7C7800

    oklch(55.8% 0.12 107.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7540FF

    #7540FF

    oklch(55.7% 0.26 287.3)

  • #006DE5

    #006DE5

    oklch(55.6% 0.201 257.4)

  • #AD17D4

    #AD17D4

    oklch(55.7% 0.26 317.2)

Open the analogous palette in the generator

Split complementary

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

  • #7540FF

    #7540FF

    oklch(55.7% 0.26 287.3)

  • #996900

    #996900

    oklch(55.7% 0.116 77.3)

  • #3A8900

    #3A8900

    oklch(55.8% 0.17 137.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7540FF

    #7540FF

    oklch(55.7% 0.26 287.3)

  • #B85000

    #B85000

    oklch(55.7% 0.153 47.4)

  • #008866

    #008866

    oklch(55.6% 0.113 167.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7540FF

    #7540FF

    oklch(55.7% 0.26 287.3)

  • #D70040

    #D70040

    oklch(55.7% 0.223 17.5)

  • #7C7800

    #7C7800

    oklch(55.8% 0.12 107.4)

  • #008487

    #008487

    oklch(55.6% 0.095 197.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7540FF.

Similar named colors

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

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