#795F9B
Closest named color: Dark Lavender (#856798). oklch(53.6% 0.096 303.3), rgb(121, 95, 155).
Aa
White text reads best on this color (5.35:1).
About this color
#795F9B is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.096 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.032 away. White text reads best on it, at 5.35:1.
| Hue family | Purples |
| Lightness | medium-dark (54%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 3.92:1 |
| White text | 5.35:1 |
Values
| HEX | #795F9B |
| RGB | rgb(121, 95, 155) |
| HSL | hsl(266, 24%, 49%) |
| OKLCH | oklch(53.6% 0.096 303.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 #795F9B | 5.35:1 | AA | Lc -81.9 | Fine for body text |
| Black text on #795F9B | 3.92:1 | AA large text | Lc 27.5 | Dividers and decoration only |
| #795F9B text on white | 5.35:1 | AA | Lc 76.6 | Fine for body text |
| #795F9B text on black | 3.92:1 | AA large text | Lc -25.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 600.
-
Step 50
50
#F6F4F9
oklch(97% 0.007 304.2)
-
Step 100
100
#EBE8F1
oklch(93.6% 0.012 301.3)
-
Step 200
200
#DCD6E6
oklch(88.6% 0.023 302.9)
-
Step 300
300
#C6BAD8
oklch(80.8% 0.044 303.6)
-
Step 400
400
#A996C4
oklch(70.6% 0.069 303.5)
-
Step 500
500
#947CB5
oklch(63% 0.088 303.3)
-
Step 600
600 (this color)
#795F9B
oklch(53.6% 0.096 303.3)
-
Step 700
700
#6B538A
oklch(49% 0.09 303.3)
-
Step 800
800
#574470
oklch(42.6% 0.074 303.3)
-
Step 900
900
#483A5B
oklch(37.8% 0.058 303.2)
-
Step 950
950
#2A2235
oklch(27% 0.036 303.4)
#795F9B 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) | #516A9D | 0.063 |
| Deuteranopia (no green cones) | #566B99 | 0.059 |
| Tritanopia (no blue cones) | #736976 | 0.073 |
| Achromatopsia (no color) | #6B6B6B | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #795F9B
#795F9B
oklch(53.6% 0.096 303.3)
- #637633
#637633
oklch(53.5% 0.095 122.8)
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 #795F9B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.032
- Muted Purple #805B87 ΔE 0.033
- Dusty Purple #825F87 ΔE 0.035
- Dull Purple #84597E ΔE 0.048
- Grey Purple #826D8C ΔE 0.054
- Dusky Purple #895B7B ΔE 0.056
- Deep Lavender #8D5EB7 ΔE 0.056
- Faded Purple #916E99 ΔE 0.061
Use #795F9B 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.