#8C38BE
Closest named color: Dark Orchid (#9932CC). oklch(52% 0.203 309.8), rgb(140, 56, 190).
Aa
White text reads best on this color (6.13:1).
About this color
#8C38BE is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.203 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.032 away. White text reads best on it, at 6.13:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.203) |
| Temperature | in between |
| Nearest name | Dark Orchid (#9932CC) |
| Black text | 3.42:1 |
| White text | 6.13:1 |
Values
| HEX | #8C38BE |
| RGB | rgb(140, 56, 190) |
| HSL | hsl(278, 54%, 48%) |
| OKLCH | oklch(52% 0.203 309.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 #8C38BE | 6.13:1 | AA | Lc -85.0 | Fine for body text |
| Black text on #8C38BE | 3.42:1 | AA large text | Lc 24.3 | Dividers and decoration only |
| #8C38BE text on white | 6.13:1 | AA | Lc 79.8 | Fine for body text |
| #8C38BE text on black | 3.42:1 | AA large text | Lc -22.0 | 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
#F8F3FC
oklch(97.1% 0.013 310.5)
-
Step 100
100
#F0E5F9
oklch(93.6% 0.029 310.1)
-
Step 200
200
#E4D0F5
oklch(88.5% 0.054 309.5)
-
Step 300
300
#D4AFF1
oklch(80.9% 0.099 309.8)
-
Step 400
400
#BE82E9
oklch(70.7% 0.157 309.8)
-
Step 500
500
#AE5DE2
oklch(63% 0.201 309.9)
-
Step 600
600
#9A3DD0
oklch(55.6% 0.219 310)
-
Step 700
700 (this color)
#8C38BE
oklch(52% 0.203 309.8)
-
Step 800
800
#6B2892
oklch(42.8% 0.169 310)
-
Step 900
900
#562774
oklch(37.6% 0.13 309.6)
-
Step 950
950
#331844
oklch(27.1% 0.083 310.3)
#8C38BE 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) | #005EC2 | 0.172 |
| Deuteranopia (no green cones) | #1E63BB | 0.166 |
| Tritanopia (no blue cones) | #855677 | 0.140 |
| Achromatopsia (no color) | #626262 | 0.205 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8C38BE
#8C38BE
oklch(52% 0.203 309.8)
- #4E7800
#4E7800
oklch(52.2% 0.14 129.7)
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 #8C38BE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Orchid #9932CC ΔE 0.032
- Purply #983FB2 ΔE 0.035
- Dark Violet #9400D3 ΔE 0.058
- Blue Violet #8A2BE2 ΔE 0.059
- Warm Purple #952E8F ΔE 0.078
- Purpley #8756E4 ΔE 0.079
- Bluey Purple #6241C7 ΔE 0.080
- Grape #7209B7 ΔE 0.080
Use #8C38BE 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.