#6842B2
Closest named color: Bluey Purple (#6241C7). oklch(48.3% 0.17 294.9), rgb(104, 66, 178).
Aa
White text reads best on this color (6.97:1).
About this color
#6842B2 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.170 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.035 away. White text reads best on it, at 6.97:1.
| Hue family | Purples |
| Lightness | medium-dark (48%) |
| Chroma | vivid (0.170) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.01:1 |
| White text | 6.97:1 |
Values
| HEX | #6842B2 |
| RGB | rgb(104, 66, 178) |
| HSL | hsl(260, 46%, 48%) |
| OKLCH | oklch(48.3% 0.17 294.9) |
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 #6842B2 | 6.97:1 | AA | Lc -88.7 | Fine for body text |
| Black text on #6842B2 | 3.01:1 | AA large text | Lc 20.3 | Dividers and decoration only |
| #6842B2 text on white | 6.97:1 | AA | Lc 83.7 | Fine for body text |
| #6842B2 text on black | 3.01:1 | AA large text | Lc -18.3 | 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
#EAE7F9
oklch(93.6% 0.024 293.6)
-
Step 200
200
#DBD4F5
oklch(88.6% 0.046 295.2)
-
Step 300
300
#C4B7F1
oklch(81% 0.082 294.8)
-
Step 400
400
#A78FEA
oklch(70.8% 0.132 294.9)
-
Step 500
500
#9270E3
oklch(63.1% 0.168 294.7)
-
Step 600
600
#7E55D1
oklch(55.6% 0.183 295)
-
Step 700
700 (this color)
#6842B2
oklch(48.3% 0.17 294.9)
-
Step 800
800
#563992
oklch(42.6% 0.14 294.7)
-
Step 900
900
#473275
oklch(37.7% 0.111 295)
-
Step 950
950
#291E44
oklch(26.9% 0.069 294.7)
#6842B2 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) | #005AB6 | 0.111 |
| Deuteranopia (no green cones) | #0058B0 | 0.112 |
| Tritanopia (no blue cones) | #555B74 | 0.132 |
| Achromatopsia (no color) | #595959 | 0.171 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6842B2
#6842B2
oklch(48.3% 0.17 294.9)
- #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 #6842B2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.035
- Rebecca Purple #663399 ΔE 0.050
- Blue With A Hint Of Purple #533CC6 ΔE 0.052
- Iris #6258C4 ΔE 0.056
- Blurple #5539CC ΔE 0.058
- Slate Blue #6A5ACD ΔE 0.067
- Light Indigo #6D5ACF ΔE 0.069
- Blueberry #464196 ΔE 0.073
Use #6842B2 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.