#B842FF
Closest named color: Neon Purple (#BC13FE). oklch(63.1% 0.266 309), rgb(184, 66, 255).
Aa
Black text reads best on this color (5.26:1).
About this color
#B842FF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.266 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Neon Purple (#BC13FE), ΔE 0.042 away. Black text reads best on it, at 5.26:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.266) |
| Temperature | in between |
| Nearest name | Neon Purple (#BC13FE) |
| Black text | 5.26:1 |
| White text | 3.99:1 |
Values
| HEX | #B842FF |
| RGB | rgb(184, 66, 255) |
| HSL | hsl(277, 100%, 63%) |
| OKLCH | oklch(63.1% 0.266 309) |
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 #B842FF | 3.99:1 | AA large text | Lc -71.6 | Content text, not long reading |
| Black text on #B842FF | 5.26:1 | AA | Lc 38.0 | Non-text elements, placeholder text |
| #B842FF text on white | 3.99:1 | AA large text | Lc 66.1 | Content text, not long reading |
| #B842FF text on black | 5.26:1 | AA | Lc -35.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
#F9F3FF
oklch(97.2% 0.017 308.3)
-
Step 100
100
#F1E4FE
oklch(93.7% 0.037 308)
-
Step 200
200
#E7CDFE
oklch(88.5% 0.072 308.9)
-
Step 300
300
#D9A9FF
oklch(80.9% 0.128 309.3)
-
Step 400
400
#C675FF
oklch(70.7% 0.205 309.2)
-
Step 500
500 (this color)
#B842FF
oklch(63.1% 0.266 309)
-
Step 600
600
#A300EC
oklch(55.6% 0.283 308.9)
-
Step 700
700
#8A00C8
oklch(49.2% 0.25 309.1)
-
Step 800
800
#7100A5
oklch(42.6% 0.217 309)
-
Step 900
900
#5C1385
oklch(37.7% 0.174 308.8)
-
Step 950
950
#360F4E
oklch(27% 0.111 309)
#B842FF 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) | #007BFF | 0.217 |
| Deuteranopia (no green cones) | #0081FB | 0.220 |
| Tritanopia (no blue cones) | #AD709E | 0.184 |
| Achromatopsia (no color) | #7F7F7F | 0.268 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B842FF
#B842FF
oklch(63.1% 0.266 309)
- #699C00
#699C00
oklch(63.2% 0.168 129.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 #B842FF, closest first.
No curated palette has a color within ΔE 0.04 of #B842FF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Neon Purple #BC13FE ΔE 0.042
- Electric Purple #AA23FF ΔE 0.046
- Bright Purple #BE03FD ΔE 0.047
- Lighter Purple #A55AF4 ΔE 0.051
- Bright Violet #AD0AFD ΔE 0.055
- Hot Purple #CB00F5 ΔE 0.058
- Bright Lavender #C760FF ΔE 0.059
- Bright Lilac #C95EFB ΔE 0.059
Use #B842FF 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.