#C791EA
Closest named color: Baby Purple (#CA9BF7). oklch(74.1% 0.137 311.2), rgb(199, 145, 234).
Aa
Black text reads best on this color (8.66:1).
About this color
#C791EA is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.137 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.028 away. Black text reads best on it, at 8.66:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | moderately saturated (0.137) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 8.66:1 |
| White text | 2.42:1 |
Values
| HEX | #C791EA |
| RGB | rgb(199, 145, 234) |
| HSL | hsl(276, 68%, 74%) |
| OKLCH | oklch(74.1% 0.137 311.2) |
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 #C791EA | 2.42:1 | Fails | Lc -52.6 | Large or bold text, headings |
| Black text on #C791EA | 8.66:1 | AAA | Lc 56.4 | Large or bold text, headings |
| #C791EA text on white | 2.42:1 | Fails | Lc 47.6 | Large or bold text, headings |
| #C791EA text on black | 8.66:1 | AAA | Lc -54.4 | Large or bold text, headings |
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
#F8F3FB
oklch(97% 0.012 313.2)
-
Step 100
100
#EFE6F6
oklch(93.7% 0.023 310.7)
-
Step 200
200
#E3D1F1
oklch(88.5% 0.047 310.5)
-
Step 300
300
#D3B1EA
oklch(80.9% 0.087 311.4)
-
Step 400
400 (this color)
#C791EA
oklch(74.1% 0.137 311.2)
-
Step 500
500
#AB65D5
oklch(63.1% 0.174 311.2)
-
Step 600
600
#9748C2
oklch(55.6% 0.19 311.6)
-
Step 700
700
#8039A8
oklch(49.1% 0.176 311)
-
Step 800
800
#683088
oklch(42.6% 0.146 311)
-
Step 900
900
#552C6D
oklch(37.8% 0.114 311.3)
-
Step 950
950
#321A40
oklch(27% 0.073 311.6)
#C791EA 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) | #80A4ED | 0.105 |
| Deuteranopia (no green cones) | #8DA8E7 | 0.097 |
| Tritanopia (no blue cones) | #C39EB3 | 0.097 |
| Achromatopsia (no color) | #A6A6A6 | 0.137 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C791EA
#C791EA
oklch(74.1% 0.137 311.2)
- #8CBD5D
#8CBD5D
oklch(74.2% 0.137 131.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 #C791EA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.028
- Liliac #C48EFD ΔE 0.031
- Pale Purple #B790D4 ΔE 0.041
- Pastel Purple #CAA0FF ΔE 0.042
- Lilac #CEA2FD ΔE 0.046
- Lavender Pink #DD85D7 ΔE 0.047
- Plum #DDA0DD ΔE 0.060
- Light Purple #BF77F6 ΔE 0.069
Use #C791EA 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.