#7B51DB
Closest named color: Purpley (#8756E4). oklch(55.5% 0.201 292.7), rgb(123, 81, 219).
Aa
White text reads best on this color (5.19:1).
About this color
#7B51DB is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.201 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.027 away. White text reads best on it, at 5.19:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.201) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.04:1 |
| White text | 5.19:1 |
Values
| HEX | #7B51DB |
| RGB | rgb(123, 81, 219) |
| HSL | hsl(258, 66%, 59%) |
| OKLCH | oklch(55.5% 0.201 292.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #7B51DB | 5.19:1 | AA | Lc -80.6 | Fine for body text |
| Black text on #7B51DB | 4.04:1 | AA large text | Lc 28.8 | Dividers and decoration only |
| #7B51DB text on white | 5.19:1 | AA | Lc 75.3 | Fine for body text |
| #7B51DB text on black | 4.04:1 | AA large text | Lc -26.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 600.
-
Step 50
50
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#EAE7FA
oklch(93.6% 0.026 293.1)
-
Step 200
200
#D9D4F8
oklch(88.5% 0.049 291.7)
-
Step 300
300
#C2B6F6
oklch(80.9% 0.09 292.9)
-
Step 400
400
#A48EF2
oklch(70.7% 0.144 292.4)
-
Step 500
500
#906EED
oklch(63.2% 0.184 292.7)
-
Step 600
600 (this color)
#7B51DB
oklch(55.5% 0.201 292.7)
-
Step 700
700
#6841BE
oklch(49.1% 0.186 292.6)
-
Step 800
800
#55369A
oklch(42.6% 0.155 292.9)
-
Step 900
900
#45317B
oklch(37.7% 0.121 292.1)
-
Step 950
950
#281D48
oklch(26.9% 0.077 292.2)
#7B51DB 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) | #006FDF | 0.123 |
| Deuteranopia (no green cones) | #006AD8 | 0.122 |
| Tritanopia (no blue cones) | #60718F | 0.159 |
| Achromatopsia (no color) | #6D6D6D | 0.202 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B51DB
#7B51DB
oklch(55.5% 0.201 292.7)
- #747900
#747900
oklch(55.3% 0.123 112.6)
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 #7B51DB, closest first.
No curated palette has a color within ΔE 0.04 of #7B51DB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.027
- Light Indigo #6D5ACF ΔE 0.034
- Slate Blue #6A5ACD ΔE 0.039
- Dark Periwinkle #665FD1 ΔE 0.046
- Iris #6258C4 ΔE 0.055
- Medium Slate Blue #7B68EE ΔE 0.056
- Blue Violet #8A2BE2 ΔE 0.064
- Bluey Purple #6241C7 ΔE 0.064
Use #7B51DB 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.