#794CA2
Closest named color: Light Eggplant (#894585). oklch(50.6% 0.138 306.3), rgb(121, 76, 162).
Aa
White text reads best on this color (6.23:1).
About this color
#794CA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.138 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.055 away. White text reads best on it, at 6.23:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | moderately saturated (0.138) |
| Temperature | in between |
| Nearest name | Light Eggplant (#894585) |
| Black text | 3.36:1 |
| White text | 6.23:1 |
Values
| HEX | #794CA2 |
| RGB | rgb(121, 76, 162) |
| HSL | hsl(271, 36%, 47%) |
| OKLCH | oklch(50.6% 0.138 306.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 #794CA2 | 6.23:1 | AA | Lc -85.9 | Fine for body text |
| Black text on #794CA2 | 3.36:1 | AA large text | Lc 23.3 | Dividers and decoration only |
| #794CA2 text on white | 6.23:1 | AA | Lc 80.8 | Fine for body text |
| #794CA2 text on black | 3.36:1 | AA large text | Lc -21.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
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#EDE7F4
oklch(93.6% 0.018 306.7)
-
Step 200
200
#DFD3ED
oklch(88.4% 0.037 306.4)
-
Step 300
300
#CBB6E3
oklch(80.9% 0.066 306.1)
-
Step 400
400
#B18FD5
oklch(70.7% 0.106 306.1)
-
Step 500
500
#9E71CA
oklch(63% 0.137 306.2)
-
Step 600
600
#8958B7
oklch(55.6% 0.149 306)
-
Step 700
700 (this color)
#794CA2
oklch(50.6% 0.138 306.3)
-
Step 800
800
#5F3B7F
oklch(42.6% 0.114 306.6)
-
Step 900
900
#4E3366
oklch(37.7% 0.089 307.1)
-
Step 950
950
#2D1E3C
oklch(26.9% 0.057 306)
#794CA2 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) | #315FA5 | 0.108 |
| Deuteranopia (no green cones) | #3F61A0 | 0.097 |
| Tritanopia (no blue cones) | #735B70 | 0.099 |
| Achromatopsia (no color) | #616161 | 0.138 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #794CA2
#794CA2
oklch(50.6% 0.138 306.3)
- #527100
#527100
oklch(50.6% 0.129 126.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 #794CA2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.055
- Deep Lavender #8D5EB7 ΔE 0.064
- Purply #983FB2 ΔE 0.066
- Muted Purple #805B87 ΔE 0.066
- Iris #6258C4 ΔE 0.068
- Rebecca Purple #663399 ΔE 0.070
- Slate Blue #6A5ACD ΔE 0.075
- Dusty Purple #825F87 ΔE 0.076
Use #794CA2 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.