#9271EB
Closest named color: Medium Purple (#9370DB). oklch(63.7% 0.177 293.2), rgb(146, 113, 235).
Aa
Black text reads best on this color (5.78:1).
About this color
#9271EB is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.177 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.024 away. Black text reads best on it, at 5.78:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | vivid (0.177) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.78:1 |
| White text | 3.63:1 |
Values
| HEX | #9271EB |
| RGB | rgb(146, 113, 235) |
| HSL | hsl(256, 75%, 68%) |
| OKLCH | oklch(63.7% 0.177 293.2) |
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 #9271EB | 3.63:1 | AA large text | Lc -69.1 | Content text, not long reading |
| Black text on #9271EB | 5.78:1 | AA | Lc 40.4 | Non-text elements, placeholder text |
| #9271EB text on white | 3.63:1 | AA large text | Lc 63.6 | Content text, not long reading |
| #9271EB text on black | 5.78:1 | AA | Lc -38.0 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#EAE7FA
oklch(93.6% 0.026 293.1)
-
Step 200
200
#DAD4F7
oklch(88.6% 0.048 293.3)
-
Step 300
300
#C2B7F4
oklch(81% 0.086 292.6)
-
Step 400
400
#A58EEE
oklch(70.6% 0.139 293.6)
-
Step 500
500 (this color)
#9271EB
oklch(63.7% 0.177 293.2)
-
Step 600
600
#7C53D7
oklch(55.6% 0.193 293.4)
-
Step 700
700
#6943BA
oklch(49.1% 0.178 293.4)
-
Step 800
800
#553897
oklch(42.7% 0.148 293.1)
-
Step 900
900
#463278
oklch(37.8% 0.115 293.3)
-
Step 950
950
#291E46
oklch(27.1% 0.072 293.7)
#9271EB 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) | #3D88EF | 0.108 |
| Deuteranopia (no green cones) | #4484E8 | 0.102 |
| Tritanopia (no blue cones) | #7B8AA3 | 0.144 |
| Achromatopsia (no color) | #868686 | 0.178 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9271EB
#9271EB
oklch(63.7% 0.177 293.2)
- #8C9300
#8C9300
oklch(63.6% 0.142 113.1)
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 #9271EB, closest first.
No curated palette has a color within ΔE 0.04 of #9271EB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.024
- Medium Slate Blue #7B68EE ΔE 0.044
- Periwinkle #8E82FE ΔE 0.045
- Lavender Blue #8B88F8 ΔE 0.055
- Light Urple #B36FF6 ΔE 0.057
- Lighter Purple #A55AF4 ΔE 0.057
- Cornflower #6A79F7 ΔE 0.060
- Purpley #8756E4 ΔE 0.064
Use #9271EB 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.