#78308C
Closest named color: Rebecca Purple (#663399). oklch(45.1% 0.157 318.2), rgb(120, 48, 140).
Aa
White text reads best on this color (8.07:1).
About this color
#78308C is a medium-dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.157 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.042 away. White text reads best on it, at 8.07:1.
| Hue family | Purples |
| Lightness | medium-dark (45%) |
| Chroma | vivid (0.157) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 2.60:1 |
| White text | 8.07:1 |
Values
| HEX | #78308C |
| RGB | rgb(120, 48, 140) |
| HSL | hsl(287, 49%, 37%) |
| OKLCH | oklch(45.1% 0.157 318.2) |
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 #78308C | 8.07:1 | AAA | Lc -92.0 | Preferred for body text |
| Black text on #78308C | 2.60:1 | Fails | Lc 16.7 | Dividers and decoration only |
| #78308C text on white | 8.07:1 | AAA | Lc 87.3 | Fine for body text |
| #78308C text on black | 2.60:1 | Fails | Lc -14.8 | Not readable |
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 800.
-
Step 50
50
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F2E5F6
oklch(93.7% 0.027 318.2)
-
Step 200
200
#E8CFEF
oklch(88.5% 0.051 318.8)
-
Step 300
300
#DAAEE7
oklch(80.9% 0.092 318.4)
-
Step 400
400
#C681DB
oklch(70.7% 0.146 318)
-
Step 500
500
#B75DD1
oklch(63.1% 0.187 318.2)
-
Step 600
600
#A23EBE
oklch(55.5% 0.204 318)
-
Step 700
700
#8B2FA4
oklch(49.2% 0.189 318.1)
-
Step 800
800 (this color)
#78308C
oklch(45.1% 0.157 318.2)
-
Step 900
900
#5B276A
oklch(37.6% 0.121 318.1)
-
Step 950
950
#36183E
oklch(27.1% 0.077 318.8)
#78308C 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) | #124B8F | 0.152 |
| Deuteranopia (no green cones) | #34528A | 0.131 |
| Tritanopia (no blue cones) | #784059 | 0.100 |
| Achromatopsia (no color) | #505050 | 0.158 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #78308C
#78308C
oklch(45.1% 0.157 318.2)
- #256600
#256600
oklch(45% 0.14 138.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 #78308C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.042
- Purple #800080 ΔE 0.056
- Dark Magenta #8B008B ΔE 0.058
- Warm Purple #952E8F ΔE 0.058
- Light Eggplant #894585 ΔE 0.064
- Grape #7209B7 ΔE 0.085
- Purply #983FB2 ΔE 0.090
- Dark Slate Blue #483D8B ΔE 0.091
Use #78308C 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.