#6A5FBA
Closest named color: Iris (#6258C4). oklch(54% 0.138 286.3), rgb(106, 95, 186).
Aa
White text reads best on this color (5.30:1).
About this color
#6A5FBA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.138 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.029 away. White text reads best on it, at 5.30:1.
| Hue family | Purples |
| Lightness | medium-dark (54%) |
| Chroma | moderately saturated (0.138) |
| Temperature | cool |
| Nearest name | Iris (#6258C4) |
| Black text | 3.95:1 |
| White text | 5.30:1 |
Values
| HEX | #6A5FBA |
| RGB | rgb(106, 95, 186) |
| HSL | hsl(247, 40%, 55%) |
| OKLCH | oklch(54% 0.138 286.3) |
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 #6A5FBA | 5.30:1 | AA | Lc -81.6 | Fine for body text |
| Black text on #6A5FBA | 3.95:1 | AA large text | Lc 27.9 | Dividers and decoration only |
| #6A5FBA text on white | 5.30:1 | AA | Lc 76.2 | Fine for body text |
| #6A5FBA text on black | 3.95:1 | AA large text | Lc -25.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
#F5F5FB
oklch(97.2% 0.008 286.3)
-
Step 100
100
#E8E8F6
oklch(93.5% 0.019 286)
-
Step 200
200
#D7D6F0
oklch(88.5% 0.036 287.4)
-
Step 300
300
#BDBBE8
oklch(80.9% 0.063 286.9)
-
Step 400
400
#9B97DC
oklch(70.6% 0.1 286.2)
-
Step 500
500
#847CD2
oklch(63% 0.127 286.4)
-
Step 600
600 (this color)
#6A5FBA
oklch(54% 0.138 286.3)
-
Step 700
700
#5D52A5
oklch(49.1% 0.129 286.7)
-
Step 800
800
#4C4486
oklch(42.8% 0.106 286.5)
-
Step 900
900
#3F3A6B
oklch(37.8% 0.082 286.4)
-
Step 950
950
#25223F
oklch(27.1% 0.053 287)
#6A5FBA 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) | #3A6EBD | 0.066 |
| Deuteranopia (no green cones) | #3869B8 | 0.065 |
| Tritanopia (no blue cones) | #527284 | 0.116 |
| Achromatopsia (no color) | #6B6B6B | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6A5FBA
#6A5FBA
oklch(54% 0.138 286.3)
- #787200
#787200
oklch(54% 0.115 106)
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 #6A5FBA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Iris #6258C4 ΔE 0.029
- Slate Blue #6A5ACD ΔE 0.033
- Dark Periwinkle #665FD1 ΔE 0.036
- Light Indigo #6D5ACF ΔE 0.036
- Deep Lavender #8D5EB7 ΔE 0.058
- French Blue #436BAD ΔE 0.063
- Warm Blue #4B57DB ΔE 0.073
- Bluey Purple #6241C7 ΔE 0.076
Use #6A5FBA 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.