#7F38FC
Closest named color: Blue Violet (#8A2BE2). oklch(55.6% 0.264 291.8), rgb(127, 56, 252).
Aa
White text reads best on this color (5.42:1).
About this color
#7F38FC is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.264 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.050 away. White text reads best on it, at 5.42:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.264) |
| Temperature | in between |
| Nearest name | Blue Violet (#8A2BE2) |
| Black text | 3.87:1 |
| White text | 5.42:1 |
Values
| HEX | #7F38FC |
| RGB | rgb(127, 56, 252) |
| HSL | hsl(262, 97%, 60%) |
| OKLCH | oklch(55.6% 0.264 291.8) |
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 #7F38FC | 5.42:1 | AA | Lc -81.2 | Fine for body text |
| Black text on #7F38FC | 3.87:1 | AA large text | Lc 28.2 | Dividers and decoration only |
| #7F38FC text on white | 5.42:1 | AA | Lc 75.8 | Fine for body text |
| #7F38FC text on black | 3.87:1 | AA large text | Lc -25.9 | 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 600.
-
Step 50
50
#F5F4FF
oklch(97.1% 0.015 290.3)
-
Step 100
100
#EAE6FF
oklch(93.6% 0.034 293.1)
-
Step 200
200
#D9D3FF
oklch(88.6% 0.06 291.4)
-
Step 300
300
#C1B5FF
oklch(81% 0.104 291.3)
-
Step 400
400
#A48AFF
oklch(70.7% 0.167 291.8)
-
Step 500
500
#9066FF
oklch(63.1% 0.217 291.6)
-
Step 600
600 (this color)
#7F38FC
oklch(55.6% 0.264 291.8)
-
Step 700
700
#6C26DC
oklch(49.1% 0.246 291.8)
-
Step 800
800
#5724B2
oklch(42.7% 0.204 291.5)
-
Step 900
900
#47268C
oklch(37.6% 0.158 291.8)
-
Step 950
950
#291852
oklch(26.9% 0.1 291.7)
#7F38FC 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) | #006DFF | 0.142 |
| Deuteranopia (no green cones) | #0066F8 | 0.138 |
| Tritanopia (no blue cones) | #54719A | 0.208 |
| Achromatopsia (no color) | #6A6A6A | 0.266 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F38FC
#7F38FC
oklch(55.6% 0.264 291.8)
- #767900
#767900
oklch(55.5% 0.122 111.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 #7F38FC, closest first.
No curated palette has a color within ΔE 0.04 of #7F38FC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Violet #8A2BE2 ΔE 0.050
- Burple #6832E3 ΔE 0.057
- Vivid Purple #9900FA ΔE 0.060
- Purply Blue #661AEE ΔE 0.065
- Purpley #8756E4 ΔE 0.065
- Purpley Blue #5F34E7 ΔE 0.066
- Electric Purple #AA23FF ΔE 0.082
- Medium Slate Blue #7B68EE ΔE 0.089
Use #7F38FC 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.