#A238CC
Closest named color: Dark Orchid (#9932CC). oklch(55.8% 0.224 314.4), rgb(162, 56, 204).
Aa
White text reads best on this color (5.28:1).
About this color
#A238CC is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.224 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.021 away. White text reads best on it, at 5.28:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.224) |
| Temperature | in between |
| Nearest name | Dark Orchid (#9932CC) |
| Black text | 3.97:1 |
| White text | 5.28:1 |
Values
| HEX | #A238CC |
| RGB | rgb(162, 56, 204) |
| HSL | hsl(283, 59%, 51%) |
| OKLCH | oklch(55.8% 0.224 314.4) |
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 #A238CC | 5.28:1 | AA | Lc -80.6 | Fine for body text |
| Black text on #A238CC | 3.97:1 | AA large text | Lc 28.8 | Dividers and decoration only |
| #A238CC text on white | 5.28:1 | AA | Lc 75.3 | Fine for body text |
| #A238CC text on black | 3.97:1 | AA large text | Lc -26.5 | 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
#F9F3FC
oklch(97.1% 0.013 314.8)
-
Step 100
100
#F1E4F8
oklch(93.5% 0.03 314)
-
Step 200
200
#E7CFF3
oklch(88.5% 0.055 314.5)
-
Step 300
300
#D9ADEE
oklch(80.9% 0.101 314.6)
-
Step 400
400
#C57FE5
oklch(70.7% 0.16 314.5)
-
Step 500
500
#B659DE
oklch(63.2% 0.206 314.4)
-
Step 600
600 (this color)
#A238CC
oklch(55.8% 0.224 314.4)
-
Step 700
700
#8A27B0
oklch(49.1% 0.208 314.3)
-
Step 800
800
#70238E
oklch(42.6% 0.172 314.5)
-
Step 900
900
#5B2472
oklch(37.8% 0.135 314.4)
-
Step 950
950
#351643
oklch(26.9% 0.086 313.9)
#A238CC 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) | #0066D0 | 0.203 |
| Deuteranopia (no green cones) | #306EC9 | 0.189 |
| Tritanopia (no blue cones) | #9E587F | 0.146 |
| Achromatopsia (no color) | #6C6C6C | 0.225 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A238CC
#A238CC
oklch(55.8% 0.224 314.4)
- #478700
#478700
oklch(55.8% 0.162 134.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 #A238CC, closest first.
No curated palette has a color within ΔE 0.04 of #A238CC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Orchid #9932CC ΔE 0.021
- Purply #983FB2 ΔE 0.045
- Vibrant Purple #AD03DE ΔE 0.051
- Dark Violet #9400D3 ΔE 0.060
- Blue Violet #8A2BE2 ΔE 0.065
- Medium Orchid #BA55D3 ΔE 0.073
- Purpley #8756E4 ΔE 0.077
- Amethyst #9B5FC0 ΔE 0.078
Use #A238CC 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.