#7B38AD
Closest named color: Rebecca Purple (#663399). oklch(48.7% 0.181 307.2), rgb(123, 56, 173).
Aa
White text reads best on this color (6.97:1).
About this color
#7B38AD is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.181 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.052 away. White text reads best on it, at 6.97:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.181) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 3.01:1 |
| White text | 6.97:1 |
Values
| HEX | #7B38AD |
| RGB | rgb(123, 56, 173) |
| HSL | hsl(274, 51%, 45%) |
| OKLCH | oklch(48.7% 0.181 307.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 #7B38AD | 6.97:1 | AA | Lc -88.5 | Fine for body text |
| Black text on #7B38AD | 3.01:1 | AA large text | Lc 20.6 | Dividers and decoration only |
| #7B38AD text on white | 6.97:1 | AA | Lc 83.5 | Fine for body text |
| #7B38AD text on black | 3.01:1 | AA large text | Lc -18.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
#F7F3FC
oklch(97% 0.013 306)
-
Step 100
100
#EEE6F7
oklch(93.6% 0.024 307)
-
Step 200
200
#E2D1F3
oklch(88.5% 0.049 307.8)
-
Step 300
300
#D0B2ED
oklch(80.9% 0.088 307.6)
-
Step 400
400
#B887E4
oklch(70.6% 0.141 307.4)
-
Step 500
500
#A666DC
oklch(63.1% 0.179 307.1)
-
Step 600
600
#9249CA
oklch(55.6% 0.195 307.2)
-
Step 700
700 (this color)
#7B38AD
oklch(48.7% 0.181 307.2)
-
Step 800
800
#65318D
oklch(42.8% 0.149 307.2)
-
Step 900
900
#522C71
oklch(37.7% 0.117 307.1)
-
Step 950
950
#301B42
oklch(27% 0.073 307)
#7B38AD 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) | #0057B1 | 0.150 |
| Deuteranopia (no green cones) | #1C5AAA | 0.143 |
| Tritanopia (no blue cones) | #73516E | 0.127 |
| Achromatopsia (no color) | #595959 | 0.182 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B38AD
#7B38AD
oklch(48.7% 0.181 307.2)
- #4C6C00
#4C6C00
oklch(48.8% 0.126 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 #7B38AD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.052
- Purply #983FB2 ΔE 0.060
- Grape #7209B7 ΔE 0.063
- Bluey Purple #6241C7 ΔE 0.064
- Warm Purple #952E8F ΔE 0.072
- Dark Orchid #9932CC ΔE 0.073
- Light Eggplant #894585 ΔE 0.081
- Iris #6258C4 ΔE 0.083
Use #7B38AD 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.