#8238A2
Closest named color: Warm Purple (#952E8F). oklch(48.8% 0.172 314.1), rgb(130, 56, 162).
Aa
White text reads best on this color (6.91:1).
About this color
#8238A2 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.172 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.050 away. White text reads best on it, at 6.91:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.172) |
| Temperature | in between |
| Nearest name | Warm Purple (#952E8F) |
| Black text | 3.03:1 |
| White text | 6.91:1 |
Values
| HEX | #8238A2 |
| RGB | rgb(130, 56, 162) |
| HSL | hsl(282, 49%, 43%) |
| OKLCH | oklch(48.8% 0.172 314.1) |
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 #8238A2 | 6.91:1 | AA | Lc -88.3 | Fine for body text |
| Black text on #8238A2 | 3.03:1 | AA large text | Lc 20.8 | Dividers and decoration only |
| #8238A2 text on white | 6.91:1 | AA | Lc 83.3 | Fine for body text |
| #8238A2 text on black | 3.03:1 | AA large text | Lc -18.7 | 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
#F8F3FB
oklch(97% 0.012 313.2)
-
Step 100
100
#F0E5F5
oklch(93.5% 0.024 315.5)
-
Step 200
200
#E4D1EF
oklch(88.5% 0.045 313.3)
-
Step 300
300
#D4B1E7
oklch(80.9% 0.083 313.6)
-
Step 400
400
#BF86DA
oklch(70.7% 0.133 314.4)
-
Step 500
500
#AE65D0
oklch(63.1% 0.17 314)
-
Step 600
600
#9949BD
oklch(55.6% 0.184 313.8)
-
Step 700
700 (this color)
#8238A2
oklch(48.8% 0.172 314.1)
-
Step 800
800
#6A3084
oklch(42.6% 0.142 313.9)
-
Step 900
900
#562C6A
oklch(37.7% 0.11 313.6)
-
Step 950
950
#331A3E
oklch(27% 0.071 314.6)
#8238A2 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) | #0556A5 | 0.162 |
| Deuteranopia (no green cones) | #335CA0 | 0.141 |
| Tritanopia (no blue cones) | #7F4C68 | 0.113 |
| Achromatopsia (no color) | #5A5A5A | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8238A2
#8238A2
oklch(48.8% 0.172 314.1)
- #3B7000
#3B7000
oklch(48.9% 0.141 134.2)
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 #8238A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Purple #952E8F ΔE 0.050
- Purply #983FB2 ΔE 0.051
- Rebecca Purple #663399 ΔE 0.058
- Light Eggplant #894585 ΔE 0.062
- Dark Magenta #8B008B ΔE 0.071
- Dark Orchid #9932CC ΔE 0.077
- Grape #7209B7 ΔE 0.078
- Purple #800080 ΔE 0.084
Use #8238A2 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.