#7831AC
Closest named color: Rebecca Purple (#663399). oklch(47.4% 0.188 306.9), rgb(120, 49, 172).
Aa
White text reads best on this color (7.41:1).
About this color
#7831AC is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.188 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.045 away. White text reads best on it, at 7.41:1.
| Hue family | Purples |
| Lightness | medium-dark (47%) |
| Chroma | vivid (0.188) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 2.83:1 |
| White text | 7.41:1 |
Values
| HEX | #7831AC |
| RGB | rgb(120, 49, 172) |
| HSL | hsl(275, 56%, 43%) |
| OKLCH | oklch(47.4% 0.188 306.9) |
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 #7831AC | 7.41:1 | AAA | Lc -89.8 | Fine for body text |
| Black text on #7831AC | 2.83:1 | Fails | Lc 19.1 | Dividers and decoration only |
| #7831AC text on white | 7.41:1 | AAA | Lc 85.0 | Fine for body text |
| #7831AC text on black | 2.83:1 | Fails | Lc -17.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
#F7F3FC
oklch(97% 0.013 306)
-
Step 100
100
#EEE6F8
oklch(93.6% 0.025 305.8)
-
Step 200
200
#E2D1F4
oklch(88.5% 0.051 307.2)
-
Step 300
300
#D0B1EF
oklch(80.8% 0.092 307.2)
-
Step 400
400
#B886E7
oklch(70.6% 0.146 306.8)
-
Step 500
500
#A764E0
oklch(63.1% 0.187 306.8)
-
Step 600
600
#9347CD
oklch(55.7% 0.202 307.1)
-
Step 700
700 (this color)
#7831AC
oklch(47.4% 0.188 306.9)
-
Step 800
800
#662F90
oklch(42.8% 0.156 307)
-
Step 900
900
#532B73
oklch(37.8% 0.122 307.1)
-
Step 950
950
#301A43
oklch(26.9% 0.077 306.7)
#7831AC 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) | #0053B0 | 0.151 |
| Deuteranopia (no green cones) | #0556A9 | 0.152 |
| Tritanopia (no blue cones) | #6F4D6B | 0.132 |
| Achromatopsia (no color) | #555555 | 0.190 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7831AC
#7831AC
oklch(47.4% 0.188 306.9)
- #496800
#496800
oklch(47.5% 0.123 127.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 #7831AC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.045
- Grape #7209B7 ΔE 0.050
- Bluey Purple #6241C7 ΔE 0.065
- Purply #983FB2 ΔE 0.071
- Warm Purple #952E8F ΔE 0.077
- Dark Orchid #9932CC ΔE 0.079
- Dark Magenta #8B008B ΔE 0.080
- Blue With A Hint Of Purple #533CC6 ΔE 0.082
Use #7831AC 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.