#7A38B8
Closest named color: Bluey Purple (#6241C7). oklch(49.4% 0.193 303.6), rgb(122, 56, 184).
Aa
White text reads best on this color (6.80:1).
About this color
#7A38B8 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.193 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.052 away. White text reads best on it, at 6.80:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.193) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.08:1 |
| White text | 6.80:1 |
Values
| HEX | #7A38B8 |
| RGB | rgb(122, 56, 184) |
| HSL | hsl(271, 53%, 47%) |
| OKLCH | oklch(49.4% 0.193 303.6) |
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 #7A38B8 | 6.80:1 | AA | Lc -87.8 | Fine for body text |
| Black text on #7A38B8 | 3.08:1 | AA large text | Lc 21.3 | Dividers and decoration only |
| #7A38B8 text on white | 6.80:1 | AA | Lc 82.8 | Fine for body text |
| #7A38B8 text on black | 3.08:1 | AA large text | Lc -19.2 | 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
#F7F4FD
oklch(97.2% 0.012 301.3)
-
Step 100
100
#EDE6F9
oklch(93.6% 0.026 302.6)
-
Step 200
200
#E0D1F6
oklch(88.4% 0.053 303.7)
-
Step 300
300
#CDB2F2
oklch(80.9% 0.093 303.7)
-
Step 400
400
#B487EC
oklch(70.7% 0.149 303.3)
-
Step 500
500
#A365E5
oklch(63.1% 0.19 303.8)
-
Step 600
600
#8E47D3
oklch(55.5% 0.207 303.6)
-
Step 700
700 (this color)
#7A38B8
oklch(49.4% 0.193 303.6)
-
Step 800
800
#622F94
oklch(42.6% 0.159 303.4)
-
Step 900
900
#502B76
oklch(37.6% 0.125 303.7)
-
Step 950
950
#2F1A45
oklch(26.9% 0.079 304.1)
#7A38B8 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) | #0059BC | 0.146 |
| Deuteranopia (no green cones) | #005BB5 | 0.148 |
| Tritanopia (no blue cones) | #6E5674 | 0.140 |
| Achromatopsia (no color) | #5B5B5B | 0.194 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7A38B8
#7A38B8
oklch(49.4% 0.193 303.6)
- #546C00
#546C00
oklch(49.4% 0.122 123.5)
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 #7A38B8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.052
- Grape #7209B7 ΔE 0.059
- Rebecca Purple #663399 ΔE 0.062
- Purply #983FB2 ΔE 0.063
- Dark Orchid #9932CC ΔE 0.065
- Blue Violet #8A2BE2 ΔE 0.071
- Blue With A Hint Of Purple #533CC6 ΔE 0.075
- Dark Violet #9400D3 ΔE 0.075
Use #7A38B8 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.