#6840C7
Closest named color: Bluey Purple (#6241C7). oklch(49.6% 0.198 291.1), rgb(104, 64, 199).
Aa
White text reads best on this color (6.67:1).
About this color
#6840C7 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.198 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.010 away. White text reads best on it, at 6.67:1.
| Hue family | Purples |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.198) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.14:1 |
| White text | 6.67:1 |
Values
| HEX | #6840C7 |
| RGB | rgb(104, 64, 199) |
| HSL | hsl(258, 55%, 52%) |
| OKLCH | oklch(49.6% 0.198 291.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 #6840C7 | 6.67:1 | AA | Lc -87.4 | Fine for body text |
| Black text on #6840C7 | 3.14:1 | AA large text | Lc 21.7 | Dividers and decoration only |
| #6840C7 text on white | 6.67:1 | AA | Lc 82.3 | Fine for body text |
| #6840C7 text on black | 3.14:1 | AA large text | Lc -19.6 | 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
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#E9E7FC
oklch(93.6% 0.028 290.2)
-
Step 200
200
#D9D4FA
oklch(88.6% 0.052 291.3)
-
Step 300
300
#C0B6FA
oklch(80.9% 0.095 290.8)
-
Step 400
400
#A28DF8
oklch(70.7% 0.153 291)
-
Step 500
500
#8D6CF4
oklch(63% 0.195 290.9)
-
Step 600
600
#794FE3
oklch(55.6% 0.213 290.9)
-
Step 700
700 (this color)
#6840C7
oklch(49.6% 0.198 291.1)
-
Step 800
800
#53359F
oklch(42.7% 0.163 290.9)
-
Step 900
900
#44307F
oklch(37.8% 0.128 290.7)
-
Step 950
950
#281D4A
oklch(27.1% 0.08 291.4)
#6840C7 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) | #005ECB | 0.110 |
| Deuteranopia (no green cones) | #0059C4 | 0.109 |
| Tritanopia (no blue cones) | #4A627E | 0.159 |
| Achromatopsia (no color) | #5C5C5C | 0.199 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6840C7
#6840C7
oklch(49.6% 0.198 291.1)
- #656700
#656700
oklch(49.5% 0.109 111.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 #6840C7, closest first.
No curated palette has a color within ΔE 0.04 of #6840C7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.010
- Blue With A Hint Of Purple #533CC6 ΔE 0.038
- Blurple #5539CC ΔE 0.038
- Burple #6832E3 ΔE 0.048
- Iris #6258C4 ΔE 0.052
- Purple Blue #5D21D0 ΔE 0.055
- Purpley Blue #5F34E7 ΔE 0.056
- Slate Blue #6A5ACD ΔE 0.057
Use #6840C7 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.