#B170CA
Closest named color: Soft Purple (#A66FB5). oklch(64.8% 0.146 316.1), rgb(177, 112, 202).
Aa
Black text reads best on this color (6.03:1).
About this color
#B170CA is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.146 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.037 away. Black text reads best on it, at 6.03:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | vivid (0.146) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 6.03:1 |
| White text | 3.47:1 |
Values
| HEX | #B170CA |
| RGB | rgb(177, 112, 202) |
| HSL | hsl(283, 46%, 62%) |
| OKLCH | oklch(64.8% 0.146 316.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 #B170CA | 3.47:1 | AA large text | Lc -67.6 | Content text, not long reading |
| Black text on #B170CA | 6.03:1 | AA | Lc 42.0 | Non-text elements, placeholder text |
| #B170CA text on white | 3.47:1 | AA large text | Lc 62.1 | Content text, not long reading |
| #B170CA text on black | 6.03:1 | AA | Lc -39.6 | 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
#F8F4FA
oklch(97.2% 0.009 314.8)
-
Step 100
100
#EFE6F3
oklch(93.6% 0.02 315.7)
-
Step 200
200
#E4D2EB
oklch(88.6% 0.039 316.6)
-
Step 300
300
#D3B3E0
oklch(80.9% 0.071 316.1)
-
Step 400
400
#BD8AD1
oklch(70.8% 0.115 316.2)
-
Step 500
500 (this color)
#B170CA
oklch(64.8% 0.146 316.1)
-
Step 600
600
#9750B1
oklch(55.6% 0.16 316.2)
-
Step 700
700
#804098
oklch(49% 0.148 315.9)
-
Step 800
800
#68367B
oklch(42.7% 0.121 315.9)
-
Step 900
900
#552F63
oklch(37.6% 0.096 316.3)
-
Step 950
950
#321C3A
oklch(27% 0.061 316.6)
#B170CA 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) | #6085CD | 0.124 |
| Deuteranopia (no green cones) | #718BC7 | 0.113 |
| Tritanopia (no blue cones) | #B07D93 | 0.098 |
| Achromatopsia (no color) | #898989 | 0.147 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B170CA
#B170CA
oklch(64.8% 0.146 316.1)
- #63A241
#63A241
oklch(64.8% 0.146 136.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 #B170CA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.037
- Wisteria #A87DC2 ΔE 0.038
- Deep Lilac #966EBD ΔE 0.050
- Medium Purple #9370DB ΔE 0.057
- Amethyst #9B5FC0 ΔE 0.059
- Medium Orchid #BA55D3 ΔE 0.061
- Light Urple #B36FF6 ΔE 0.066
- Dark Lilac #9C6DA5 ΔE 0.067
Use #B170CA 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.