#B262AB
Closest named color: Soft Purple (#A66FB5). oklch(61.3% 0.139 330.4), rgb(178, 98, 171).
Aa
Black text reads best on this color (5.22:1).
About this color
#B262AB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.139 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.035 away. Black text reads best on it, at 5.22:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.139) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.22:1 |
| White text | 4.01:1 |
Values
| HEX | #B262AB |
| RGB | rgb(178, 98, 171) |
| HSL | hsl(305, 34%, 54%) |
| OKLCH | oklch(61.3% 0.139 330.4) |
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 #B262AB | 4.01:1 | AA large text | Lc -72.6 | Content text, not long reading |
| Black text on #B262AB | 5.22:1 | AA | Lc 36.9 | Non-text elements, placeholder text |
| #B262AB text on white | 4.01:1 | AA large text | Lc 67.1 | Content text, not long reading |
| #B262AB text on black | 5.22:1 | AA | Lc -34.5 | 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
#F9F3F8
oklch(97% 0.009 330.9)
-
Step 100
100
#F2E5F0
oklch(93.5% 0.02 330.7)
-
Step 200
200
#E8D1E5
oklch(88.5% 0.037 330.1)
-
Step 300
300
#DBB1D6
oklch(80.9% 0.069 330.2)
-
Step 400
400
#C787C1
oklch(70.7% 0.109 330)
-
Step 500
500 (this color)
#B262AB
oklch(61.3% 0.139 330.4)
-
Step 600
600
#A34D9C
oklch(55.6% 0.151 330.5)
-
Step 700
700
#8B3D85
oklch(49% 0.141 330.5)
-
Step 800
800
#71336C
oklch(42.6% 0.116 330.5)
-
Step 900
900
#5C2D58
oklch(37.6% 0.092 330.4)
-
Step 950
950
#361B34
oklch(27% 0.058 329.8)
#B262AB 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) | #5E78AE | 0.137 |
| Deuteranopia (no green cones) | #7483A9 | 0.124 |
| Tritanopia (no blue cones) | #B8687E | 0.076 |
| Achromatopsia (no color) | #7F7F7F | 0.140 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B262AB
#B262AB
oklch(61.3% 0.139 330.4)
- #369B55
#369B55
oklch(61.4% 0.14 150.2)
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 #B262AB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.035
- Dark Lilac #9C6DA5 ΔE 0.046
- Amethyst #9B5FC0 ΔE 0.055
- Deep Lilac #966EBD ΔE 0.057
- Wisteria #A87DC2 ΔE 0.066
- Pinky Purple #C94CBE ΔE 0.066
- Pale Magenta #D767AD ΔE 0.070
- Faded Purple #916E99 ΔE 0.071
Use #B262AB 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.