#CC22F7
Closest named color: Hot Purple (#CB00F5). oklch(63.1% 0.29 317.7), rgb(204, 34, 247).
Aa
Black text reads best on this color (5.13:1).
About this color
#CC22F7 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.290 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Purple (#CB00F5), ΔE 0.016 away. Black text reads best on it, at 5.13:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.290) |
| Temperature | in between |
| Nearest name | Hot Purple (#CB00F5) |
| Black text | 5.13:1 |
| White text | 4.08:1 |
Values
| HEX | #CC22F7 |
| RGB | rgb(204, 34, 247) |
| HSL | hsl(288, 93%, 55%) |
| OKLCH | oklch(63.1% 0.29 317.7) |
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 #CC22F7 | 4.08:1 | AA large text | Lc -71.6 | Content text, not long reading |
| Black text on #CC22F7 | 5.13:1 | AA | Lc 37.9 | Non-text elements, placeholder text |
| #CC22F7 text on white | 4.08:1 | AA large text | Lc 66.1 | Content text, not long reading |
| #CC22F7 text on black | 5.13:1 | AA | Lc -35.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
#FBF2FE
oklch(97.2% 0.018 317.7)
-
Step 100
100
#F6E2FC
oklch(93.7% 0.041 318.4)
-
Step 200
200
#EFC9FC
oklch(88.4% 0.08 317.4)
-
Step 300
300
#E6A2FC
oklch(80.8% 0.142 317.7)
-
Step 400
400
#D867FA
oklch(70.6% 0.227 317.7)
-
Step 500
500 (this color)
#CC22F7
oklch(63.1% 0.29 317.7)
-
Step 600
600
#AF00D6
oklch(55.6% 0.27 317.7)
-
Step 700
700
#9400B5
oklch(49.1% 0.238 317.8)
-
Step 800
800
#7A0096
oklch(42.7% 0.207 317.7)
-
Step 900
900
#66007E
oklch(37.6% 0.183 317.6)
-
Step 950
950
#3D074B
oklch(27.1% 0.119 317.9)
#CC22F7 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) | #0074FC | 0.263 |
| Deuteranopia (no green cones) | #2A82F3 | 0.258 |
| Tritanopia (no blue cones) | #CA5B94 | 0.181 |
| Achromatopsia (no color) | #7E7E7E | 0.292 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CC22F7
#CC22F7
oklch(63.1% 0.29 317.7)
- #44A200
#44A200
oklch(63% 0.193 137.6)
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 #CC22F7, closest first.
No curated palette has a color within ΔE 0.04 of #CC22F7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Purple #CB00F5 ΔE 0.016
- Bright Purple #BE03FD ΔE 0.035
- Neon Purple #BC13FE ΔE 0.037
- Purple Pink #D725DE ΔE 0.046
- Heliotrope #D94FF5 ΔE 0.061
- Bright Violet #AD0AFD ΔE 0.066
- Electric Purple #AA23FF ΔE 0.069
- Vibrant Purple #AD03DE ΔE 0.074
Use #CC22F7 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.