#7540D4
Closest named color: Bluey Purple (#6241C7). oklch(52% 0.213 294.1), rgb(117, 64, 212).
Aa
White text reads best on this color (6.10:1).
About this color
#7540D4 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.213 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.038 away. White text reads best on it, at 6.10:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.213) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.44:1 |
| White text | 6.10:1 |
Values
| HEX | #7540D4 |
| RGB | rgb(117, 64, 212) |
| HSL | hsl(261, 63%, 54%) |
| OKLCH | oklch(52% 0.213 294.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #7540D4 | 6.10:1 | AA | Lc -85.0 | Fine for body text |
| Black text on #7540D4 | 3.44:1 | AA large text | Lc 24.3 | Dividers and decoration only |
| #7540D4 text on white | 6.10:1 | AA | Lc 79.7 | Fine for body text |
| #7540D4 text on black | 3.44:1 | AA large text | Lc -22.1 | 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.
-
Step 50
50
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#EAE6FC
oklch(93.5% 0.03 294.2)
-
Step 200
200
#DBD3FC
oklch(88.6% 0.056 294.2)
-
Step 300
300
#C4B4FD
oklch(80.9% 0.103 294)
-
Step 400
400
#A889FC
oklch(70.7% 0.165 294.2)
-
Step 500
500
#9466F9
oklch(63.1% 0.21 294)
-
Step 600
600
#8146E8
oklch(55.6% 0.229 294.4)
-
Step 700
700 (this color)
#7540D4
oklch(52% 0.213 294.1)
-
Step 800
800
#592EA3
oklch(42.7% 0.177 294.5)
-
Step 900
900
#482C82
oklch(37.8% 0.138 293.7)
-
Step 950
950
#2A1B4C
oklch(27.1% 0.087 293.9)
#7540D4 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #0063D8 | 0.127 |
| Deuteranopia (no green cones) | #005FD1 | 0.126 |
| Tritanopia (no blue cones) | #5A6585 | 0.167 |
| Achromatopsia (no color) | #626262 | 0.214 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7540D4
#7540D4
oklch(52% 0.213 294.1)
- #697000
#697000
oklch(52.1% 0.117 114)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7540D4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.038
- Burple #6832E3 ΔE 0.042
- Blue Violet #8A2BE2 ΔE 0.049
- Light Indigo #6D5ACF ΔE 0.054
- Purpley Blue #5F34E7 ΔE 0.055
- Slate Blue #6A5ACD ΔE 0.056
- Purpley #8756E4 ΔE 0.061
- Blurple #5539CC ΔE 0.061
Use #7540D4 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.