#7040BA
Closest named color: Bluey Purple (#6241C7). oklch(49.4% 0.183 297.3), rgb(112, 64, 186).
Aa
White text reads best on this color (6.70:1).
About this color
#7040BA is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.183 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.033 away. White text reads best on it, at 6.70:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.183) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.13:1 |
| White text | 6.70:1 |
Values
| HEX | #7040BA |
| RGB | rgb(112, 64, 186) |
| HSL | hsl(264, 49%, 49%) |
| OKLCH | oklch(49.4% 0.183 297.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #7040BA | 6.70:1 | AA | Lc -87.6 | Fine for body text |
| Black text on #7040BA | 3.13:1 | AA large text | Lc 21.5 | Dividers and decoration only |
| #7040BA text on white | 6.70:1 | AA | Lc 82.5 | Fine for body text |
| #7040BA text on black | 3.13:1 | AA large text | Lc -19.4 | 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
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#EBE7F9
oklch(93.6% 0.024 296.1)
-
Step 200
200
#DCD3F6
oklch(88.5% 0.049 297.2)
-
Step 300
300
#C6B5F3
oklch(80.9% 0.088 297)
-
Step 400
400
#AB8CED
oklch(70.7% 0.141 297.4)
-
Step 500
500
#976BE7
oklch(63% 0.181 297.3)
-
Step 600
600
#834FD5
oklch(55.5% 0.197 297.5)
-
Step 700
700 (this color)
#7040BA
oklch(49.4% 0.183 297.3)
-
Step 800
800
#5A3596
oklch(42.7% 0.152 297.1)
-
Step 900
900
#4A2F77
oklch(37.6% 0.119 297.7)
-
Step 950
950
#2B1D46
oklch(27.1% 0.074 296.9)
#7040BA 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) | #005CBE | 0.124 |
| Deuteranopia (no green cones) | #005AB7 | 0.124 |
| Tritanopia (no blue cones) | #5E5C77 | 0.141 |
| Achromatopsia (no color) | #5C5C5C | 0.184 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7040BA
#7040BA
oklch(49.4% 0.183 297.3)
- #5D6900
#5D6900
oklch(49.3% 0.114 117.3)
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 #7040BA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.033
- Iris #6258C4 ΔE 0.057
- Blue With A Hint Of Purple #533CC6 ΔE 0.057
- Blurple #5539CC ΔE 0.060
- Rebecca Purple #663399 ΔE 0.061
- Slate Blue #6A5ACD ΔE 0.062
- Light Indigo #6D5ACF ΔE 0.063
- Grape #7209B7 ΔE 0.070
Use #7040BA 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.