#865DEF
Closest named color: Purpley (#8756E4). oklch(59.7% 0.209 291.7), rgb(134, 93, 239).
Aa
Black text reads best on this color (4.82:1).
About this color
#865DEF is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.209 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.021 away. Black text reads best on it, at 4.82:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.209) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.82:1 |
| White text | 4.35:1 |
Values
| HEX | #865DEF |
| RGB | rgb(134, 93, 239) |
| HSL | hsl(257, 82%, 65%) |
| OKLCH | oklch(59.7% 0.209 291.7) |
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 #865DEF | 4.35:1 | AA large text | Lc -75.2 | Fine for body text |
| Black text on #865DEF | 4.82:1 | AA | Lc 34.4 | Non-text elements, placeholder text |
| #865DEF text on white | 4.35:1 | AA large text | Lc 69.7 | Content text, not long reading |
| #865DEF text on black | 4.82:1 | AA | Lc -32.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
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#EAE7FD
oklch(93.7% 0.03 292.1)
-
Step 200
200
#D9D3FC
oklch(88.5% 0.056 291.9)
-
Step 300
300
#C1B5FE
oklch(80.9% 0.102 291.5)
-
Step 400
400
#A48BFD
oklch(70.8% 0.163 291.8)
-
Step 500
500 (this color)
#865DEF
oklch(59.7% 0.209 291.7)
-
Step 600
600
#7C49EA
oklch(55.6% 0.228 291.8)
-
Step 700
700
#6938CB
oklch(49% 0.211 291.9)
-
Step 800
800
#5530A4
oklch(42.6% 0.175 291.9)
-
Step 900
900
#462D82
oklch(37.7% 0.136 292.1)
-
Step 950
950
#281B4C
oklch(26.8% 0.087 291.7)
#865DEF 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) | #007BF4 | 0.127 |
| Deuteranopia (no green cones) | #0076EC | 0.126 |
| Tritanopia (no blue cones) | #677F9D | 0.170 |
| Achromatopsia (no color) | #797979 | 0.210 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #865DEF
#865DEF
oklch(59.7% 0.209 291.7)
- #828600
#828600
oklch(59.7% 0.132 111.9)
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 #865DEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.021
- Medium Slate Blue #7B68EE ΔE 0.028
- Lighter Purple #A55AF4 ΔE 0.053
- Medium Purple #9370DB ΔE 0.061
- Light Indigo #6D5ACF ΔE 0.064
- Dark Periwinkle #665FD1 ΔE 0.068
- Slate Blue #6A5ACD ΔE 0.069
- Cornflower #6A79F7 ΔE 0.070
Use #865DEF 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.