#9804FB
Closest named color: Vivid Purple (#9900FA). oklch(55.6% 0.291 302.3), rgb(152, 4, 251).
Aa
White text reads best on this color (5.60:1).
About this color
#9804FB is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.291 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vivid Purple (#9900FA), ΔE 0.003 away. White text reads best on it, at 5.60:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.291) |
| Temperature | in between |
| Nearest name | Vivid Purple (#9900FA) |
| Black text | 3.74:1 |
| White text | 5.60:1 |
Values
| HEX | #9804FB |
| RGB | rgb(152, 4, 251) |
| HSL | hsl(276, 97%, 50%) |
| OKLCH | oklch(55.6% 0.291 302.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 #9804FB | 5.60:1 | AA | Lc -80.9 | Fine for body text |
| Black text on #9804FB | 3.74:1 | AA large text | Lc 28.6 | Dividers and decoration only |
| #9804FB text on white | 5.60:1 | AA | Lc 75.5 | Fine for body text |
| #9804FB text on black | 3.74:1 | AA large text | Lc -26.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
#F7F3FF
oklch(97.1% 0.016 301.2)
-
Step 100
100
#EEE5FF
oklch(93.7% 0.036 301.4)
-
Step 200
200
#E1CFFF
oklch(88.5% 0.068 302.1)
-
Step 300
300
#CFAEFF
oklch(80.8% 0.117 302.6)
-
Step 400
400
#B87FFF
oklch(70.8% 0.186 302.5)
-
Step 500
500
#A854FF
oklch(63.1% 0.242 302.4)
-
Step 600
600 (this color)
#9804FB
oklch(55.6% 0.291 302.3)
-
Step 700
700
#8000D6
oklch(49.1% 0.259 302.1)
-
Step 800
800
#6901B1
oklch(42.7% 0.224 302.1)
-
Step 900
900
#55178C
oklch(37.7% 0.175 302.1)
-
Step 950
950
#321152
oklch(27% 0.112 302.6)
#9804FB 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) | #0066FF | 0.195 |
| Deuteranopia (no green cones) | #0067F7 | 0.196 |
| Tritanopia (no blue cones) | #826194 | 0.208 |
| Achromatopsia (no color) | #686868 | 0.294 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9804FB
#9804FB
oklch(55.6% 0.291 302.3)
- #667F00
#667F00
oklch(55.6% 0.135 122.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 #9804FB, closest first.
No curated palette has a color within ΔE 0.04 of #9804FB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vivid Purple #9900FA ΔE 0.003
- Electric Purple #AA23FF ΔE 0.042
- Bright Violet #AD0AFD ΔE 0.042
- Blue Violet #8A2BE2 ΔE 0.047
- Dark Violet #9400D3 ΔE 0.063
- Vibrant Purple #AD03DE ΔE 0.065
- Neon Purple #BC13FE ΔE 0.073
- Bright Purple #BE03FD ΔE 0.076
Use #9804FB 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.