#7040C8
Closest named color: Bluey Purple (#6241C7). oklch(50.5% 0.199 294.3), rgb(112, 64, 200).
Aa
White text reads best on this color (6.44:1).
About this color
#7040C8 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.199 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.025 away. White text reads best on it, at 6.44:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | vivid (0.199) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.25:1 |
| White text | 6.44:1 |
Values
| HEX | #7040C8 |
| RGB | rgb(112, 64, 200) |
| HSL | hsl(261, 55%, 52%) |
| OKLCH | oklch(50.5% 0.199 294.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 #7040C8 | 6.44:1 | AA | Lc -86.5 | Fine for body text |
| Black text on #7040C8 | 3.25:1 | AA large text | Lc 22.7 | Dividers and decoration only |
| #7040C8 text on white | 6.44:1 | AA | Lc 81.4 | Fine for body text |
| #7040C8 text on black | 3.25:1 | AA large text | Lc -20.5 | 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
#EAE7FB
oklch(93.6% 0.027 292.8)
-
Step 200
200
#DBD3FA
oklch(88.6% 0.054 294.7)
-
Step 300
300
#C4B5F9
oklch(80.9% 0.096 294.3)
-
Step 400
400
#A78BF6
oklch(70.7% 0.154 294.2)
-
Step 500
500
#9469F2
oklch(63.1% 0.197 294.5)
-
Step 600
600
#804CE1
oklch(55.7% 0.214 294.4)
-
Step 700
700 (this color)
#7040C8
oklch(50.5% 0.199 294.3)
-
Step 800
800
#58329E
oklch(42.7% 0.166 294.5)
-
Step 900
900
#482E7D
oklch(37.7% 0.128 294.6)
-
Step 950
950
#2A1C49
oklch(27% 0.081 294.8)
#7040C8 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) | #0060CC | 0.122 |
| Deuteranopia (no green cones) | #005CC5 | 0.121 |
| Tritanopia (no blue cones) | #57617F | 0.155 |
| Achromatopsia (no color) | #5E5E5E | 0.200 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7040C8
#7040C8
oklch(50.5% 0.199 294.3)
- #646B00
#646B00
oklch(50.4% 0.114 114.2)
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 #7040C8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.025
- Burple #6832E3 ΔE 0.050
- Blurple #5539CC ΔE 0.052
- Blue With A Hint Of Purple #533CC6 ΔE 0.053
- Iris #6258C4 ΔE 0.054
- Slate Blue #6A5ACD ΔE 0.055
- Light Indigo #6D5ACF ΔE 0.055
- Purpley Blue #5F34E7 ΔE 0.062
Use #7040C8 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.