#8242C1
Closest named color: Purply (#983FB2). oklch(52.2% 0.191 303.5), rgb(130, 66, 193).
Aa
White text reads best on this color (6.00:1).
About this color
#8242C1 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.191 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.049 away. White text reads best on it, at 6.00:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.191) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.49:1 |
| White text | 6.00:1 |
Values
| HEX | #8242C1 |
| RGB | rgb(130, 66, 193) |
| HSL | hsl(270, 51%, 51%) |
| OKLCH | oklch(52.2% 0.191 303.5) |
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 #8242C1 | 6.00:1 | AA | Lc -84.6 | Fine for body text |
| Black text on #8242C1 | 3.49:1 | AA large text | Lc 24.7 | Dividers and decoration only |
| #8242C1 text on white | 6.00:1 | AA | Lc 79.4 | Fine for body text |
| #8242C1 text on black | 3.49:1 | AA large text | Lc -22.4 | 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
#E0D1F6
oklch(88.4% 0.053 303.7)
-
Step 300
300
#CDB2F2
oklch(80.9% 0.093 303.7)
-
Step 400
400
#B487EB
oklch(70.6% 0.148 303.6)
-
Step 500
500
#A265E5
oklch(63% 0.19 303.4)
-
Step 600
600
#8E48D3
oklch(55.6% 0.205 303.5)
-
Step 700
700 (this color)
#8242C1
oklch(52.2% 0.191 303.5)
-
Step 800
800
#622F94
oklch(42.6% 0.159 303.4)
-
Step 900
900
#502C76
oklch(37.8% 0.123 303.4)
-
Step 950
950
#2F1B45
oklch(27.1% 0.077 303.7)
#8242C1 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) | #0062C5 | 0.149 |
| Deuteranopia (no green cones) | #1563BE | 0.145 |
| Tritanopia (no blue cones) | #765E7C | 0.140 |
| Achromatopsia (no color) | #636363 | 0.192 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8242C1
#8242C1
oklch(52.2% 0.191 303.5)
- #5B7500
#5B7500
oklch(52.3% 0.129 123.6)
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 #8242C1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.049
- Dark Orchid #9932CC ΔE 0.050
- Bluey Purple #6241C7 ΔE 0.060
- Blue Violet #8A2BE2 ΔE 0.061
- Light Indigo #6D5ACF ΔE 0.062
- Slate Blue #6A5ACD ΔE 0.064
- Purpley #8756E4 ΔE 0.066
- Iris #6258C4 ΔE 0.068
Use #8242C1 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.