#764FBA
Closest named color: Iris (#6258C4). oklch(52.3% 0.162 297.3), rgb(118, 79, 186).
Aa
White text reads best on this color (5.83:1).
About this color
#764FBA is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.162 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.039 away. White text reads best on it, at 5.83:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.162) |
| Temperature | in between |
| Nearest name | Iris (#6258C4) |
| Black text | 3.59:1 |
| White text | 5.83:1 |
Values
| HEX | #764FBA |
| RGB | rgb(118, 79, 186) |
| HSL | hsl(262, 44%, 52%) |
| OKLCH | oklch(52.3% 0.162 297.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 #764FBA | 5.83:1 | AA | Lc -84.1 | Fine for body text |
| Black text on #764FBA | 3.59:1 | AA large text | Lc 25.2 | Dividers and decoration only |
| #764FBA text on white | 5.83:1 | AA | Lc 78.9 | Fine for body text |
| #764FBA text on black | 3.59:1 | AA large text | Lc -22.9 | 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
#DCD4F3
oklch(88.6% 0.043 297.3)
-
Step 300
300
#C6B6EE
oklch(80.9% 0.08 297.7)
-
Step 400
400
#A98FE5
oklch(70.7% 0.125 297)
-
Step 500
500
#9570DD
oklch(63% 0.161 297.2)
-
Step 600
600
#8156CB
oklch(55.7% 0.175 297.4)
-
Step 700
700 (this color)
#764FBA
oklch(52.3% 0.162 297.3)
-
Step 800
800
#593A8E
oklch(42.8% 0.134 297.5)
-
Step 900
900
#493371
oklch(37.8% 0.103 297.6)
-
Step 950
950
#2A1E42
oklch(26.9% 0.066 297.1)
#764FBA 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) | #1865BE | 0.114 |
| Deuteranopia (no green cones) | #2964B8 | 0.106 |
| Tritanopia (no blue cones) | #66657D | 0.126 |
| Achromatopsia (no color) | #656565 | 0.163 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #764FBA
#764FBA
oklch(52.3% 0.162 297.3)
- #657200
#657200
oklch(52.3% 0.121 117.3)
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 #764FBA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Iris #6258C4 ΔE 0.039
- Slate Blue #6A5ACD ΔE 0.041
- Light Indigo #6D5ACF ΔE 0.041
- Dark Periwinkle #665FD1 ΔE 0.053
- Bluey Purple #6241C7 ΔE 0.054
- Deep Lavender #8D5EB7 ΔE 0.058
- Purply #983FB2 ΔE 0.068
- Purpley #8756E4 ΔE 0.072
Use #764FBA 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.