#6842B1
Closest named color: Bluey Purple (#6241C7). oklch(48.2% 0.168 295.1), rgb(104, 66, 177).
Aa
White text reads best on this color (6.99:1).
About this color
#6842B1 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.168 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.037 away. White text reads best on it, at 6.99:1.
| Hue family | Purples |
| Lightness | medium-dark (48%) |
| Chroma | vivid (0.168) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.00:1 |
| White text | 6.99:1 |
Values
| HEX | #6842B1 |
| RGB | rgb(104, 66, 177) |
| HSL | hsl(261, 46%, 48%) |
| OKLCH | oklch(48.2% 0.168 295.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 #6842B1 | 6.99:1 | AA | Lc -88.7 | Fine for body text |
| Black text on #6842B1 | 3.00:1 | AA large text | Lc 20.3 | Dividers and decoration only |
| #6842B1 text on white | 6.99:1 | AA | Lc 83.8 | Fine for body text |
| #6842B1 text on black | 3.00:1 | AA large text | Lc -18.2 | 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
#F6F4FC
oklch(97.1% 0.011 297.6)
-
Step 100
100
#EBE7F8
oklch(93.6% 0.023 296.7)
-
Step 200
200
#DBD4F5
oklch(88.6% 0.046 295.2)
-
Step 300
300
#C4B7F0
oklch(81% 0.081 295)
-
Step 400
400
#A78FE9
oklch(70.7% 0.13 295.1)
-
Step 500
500
#9370E2
oklch(63.1% 0.167 295.4)
-
Step 600
600
#7E55D0
oklch(55.6% 0.182 295.2)
-
Step 700
700 (this color)
#6842B1
oklch(48.2% 0.168 295.1)
-
Step 800
800
#573992
oklch(42.7% 0.141 295.4)
-
Step 900
900
#473274
oklch(37.6% 0.109 295.3)
-
Step 950
950
#291E44
oklch(26.9% 0.069 294.7)
#6842B1 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) | #005AB5 | 0.111 |
| Deuteranopia (no green cones) | #0057AF | 0.111 |
| Tritanopia (no blue cones) | #555B73 | 0.133 |
| Achromatopsia (no color) | #595959 | 0.169 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6842B1
#6842B1
oklch(48.2% 0.168 295.1)
- #5D6500
#5D6500
oklch(48.3% 0.11 115.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 #6842B1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.037
- Rebecca Purple #663399 ΔE 0.049
- Blue With A Hint Of Purple #533CC6 ΔE 0.053
- Iris #6258C4 ΔE 0.056
- Blurple #5539CC ΔE 0.059
- Slate Blue #6A5ACD ΔE 0.068
- Light Indigo #6D5ACF ΔE 0.070
- Blueberry #464196 ΔE 0.072
Use #6842B1 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.