#C172EC
Closest named color: Light Purple (#BF77F6). oklch(68.7% 0.187 312.4), rgb(193, 114, 236).
Aa
Black text reads best on this color (6.88:1).
About this color
#C172EC is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.187 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.017 away. Black text reads best on it, at 6.88:1.
| Hue family | Purples |
| Lightness | medium-light (69%) |
| Chroma | vivid (0.187) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 6.88:1 |
| White text | 3.04:1 |
Values
| HEX | #C172EC |
| RGB | rgb(193, 114, 236) |
| HSL | hsl(279, 76%, 69%) |
| OKLCH | oklch(68.7% 0.187 312.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 #C172EC | 3.04:1 | AA large text | Lc -62.3 | Content text, not long reading |
| Black text on #C172EC | 6.88:1 | AA | Lc 47.1 | Large or bold text, headings |
| #C172EC text on white | 3.04:1 | AA large text | Lc 57.0 | Large or bold text, headings |
| #C172EC text on black | 6.88:1 | AA | Lc -44.8 | 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 400.
-
Step 50
50
#F9F3FD
oklch(97.2% 0.015 312.2)
-
Step 100
100
#F2E4FB
oklch(93.7% 0.034 312.4)
-
Step 200
200
#E8CDF9
oklch(88.5% 0.066 312.4)
-
Step 300
300
#DAAAF7
oklch(80.8% 0.117 312.3)
-
Step 400
400 (this color)
#C172EC
oklch(68.7% 0.187 312.4)
-
Step 500
500
#B94CEE
oklch(63% 0.239 312.4)
-
Step 600
600
#A51FDC
oklch(55.6% 0.26 312.5)
-
Step 700
700
#8D07BF
oklch(49% 0.241 312.4)
-
Step 800
800
#73129B
oklch(42.8% 0.2 312.4)
-
Step 900
900
#5D1C7B
oklch(37.8% 0.155 312.5)
-
Step 950
950
#361348
oklch(27% 0.098 312)
#C172EC 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) | #538FF0 | 0.159 |
| Deuteranopia (no green cones) | #6C95E9 | 0.142 |
| Tritanopia (no blue cones) | #BD86A5 | 0.128 |
| Achromatopsia (no color) | #949494 | 0.188 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C172EC
#C172EC
oklch(68.7% 0.187 312.4)
- #6BB112
#6BB112
oklch(68.7% 0.187 132.5)
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 #C172EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.017
- Easter Purple #C071FE ΔE 0.027
- Light Urple #B36FF6 ΔE 0.031
- Bright Lilac #C95EFB ΔE 0.048
- Bright Lavender #C760FF ΔE 0.048
- Orchid #DA70D6 ΔE 0.055
- Liliac #C48EFD ΔE 0.064
- Medium Orchid #BA55D3 ΔE 0.067
Use #C172EC 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.