#7338B1
Closest named color: Rebecca Purple (#663399). oklch(48% 0.183 302.3), rgb(115, 56, 177).
Aa
White text reads best on this color (7.16:1).
About this color
#7338B1 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.183 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.046 away. White text reads best on it, at 7.16:1.
| Hue family | Purples |
| Lightness | medium-dark (48%) |
| Chroma | vivid (0.183) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 2.92:1 |
| White text | 7.16:1 |
Values
| HEX | #7338B1 |
| RGB | rgb(115, 56, 177) |
| HSL | hsl(269, 52%, 46%) |
| OKLCH | oklch(48% 0.183 302.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 #7338B1 | 7.16:1 | AAA | Lc -89.2 | Fine for body text |
| Black text on #7338B1 | 2.92:1 | Fails | Lc 19.8 | Dividers and decoration only |
| #7338B1 text on white | 7.16:1 | AAA | Lc 84.2 | Fine for body text |
| #7338B1 text on black | 2.92:1 | Fails | Lc -17.8 | 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
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#EDE6F9
oklch(93.6% 0.026 302.6)
-
Step 200
200
#DFD2F5
oklch(88.5% 0.049 302.3)
-
Step 300
300
#CBB3F1
oklch(80.8% 0.09 302.2)
-
Step 400
400
#B289E9
oklch(70.7% 0.142 302.6)
-
Step 500
500
#9F68E3
oklch(63% 0.182 302.1)
-
Step 600
600
#8B4CD1
oklch(55.7% 0.197 302.1)
-
Step 700
700 (this color)
#7338B1
oklch(48% 0.183 302.3)
-
Step 800
800
#603292
oklch(42.7% 0.152 302.4)
-
Step 900
900
#4E2E75
oklch(37.8% 0.118 301.8)
-
Step 950
950
#2E1B44
oklch(26.9% 0.076 303.1)
#7338B1 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) | #0057B5 | 0.136 |
| Deuteranopia (no green cones) | #0057AE | 0.138 |
| Tritanopia (no blue cones) | #665470 | 0.135 |
| Achromatopsia (no color) | #585858 | 0.185 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7338B1
#7338B1
oklch(48% 0.183 302.3)
- #536700
#536700
oklch(48% 0.116 121.9)
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 #7338B1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.046
- Bluey Purple #6241C7 ΔE 0.050
- Grape #7209B7 ΔE 0.056
- Blue With A Hint Of Purple #533CC6 ΔE 0.068
- Blurple #5539CC ΔE 0.071
- Purply #983FB2 ΔE 0.075
- Iris #6258C4 ΔE 0.076
- Purple Blue #5D21D0 ΔE 0.076
Use #7338B1 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.