#CDBAFB
Closest named color: Light Violet (#D6B4FC). oklch(82.7% 0.092 297.8), rgb(205, 186, 251).
Aa
Black text reads best on this color (12.01:1).
About this color
#CDBAFB is a light, moderately saturated purple. In OKLCH its lightness is 83%, its chroma 0.092 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.019 away. Black text reads best on it, at 12.01:1.
| Hue family | Purples |
| Lightness | light (83%) |
| Chroma | moderately saturated (0.092) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 12.01:1 |
| White text | 1.74:1 |
Values
| HEX | #CDBAFB |
| RGB | rgb(205, 186, 251) |
| HSL | hsl(258, 89%, 86%) |
| OKLCH | oklch(82.7% 0.092 297.8) |
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 #CDBAFB | 1.74:1 | Fails | Lc -35.8 | Non-text elements, placeholder text |
| Black text on #CDBAFB | 12.01:1 | AAA | Lc 72.0 | Content text, not long reading |
| #CDBAFB text on white | 1.74:1 | Fails | Lc 31.8 | Non-text elements, placeholder text |
| #CDBAFB text on black | 12.01:1 | AAA | Lc -70.9 | Content text, not long reading |
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 300.
-
Step 50
50
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#ECE6FA
oklch(93.6% 0.027 299.5)
-
Step 200
200
#DDD3F7
oklch(88.6% 0.05 298.1)
-
Step 300
300 (this color)
#CDBAFB
oklch(82.7% 0.092 297.8)
-
Step 400
400
#AC8AF0
oklch(70.6% 0.148 297.9)
-
Step 500
500
#9969EA
oklch(63% 0.188 298)
-
Step 600
600
#854CD9
oklch(55.6% 0.205 297.9)
-
Step 700
700
#703CBC
oklch(49.1% 0.19 297.5)
-
Step 800
800
#5B3398
oklch(42.7% 0.157 297.5)
-
Step 900
900
#4B2E79
oklch(37.7% 0.123 298.1)
-
Step 950
950
#2B1C47
oklch(27% 0.078 297)
#CDBAFB 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) | #ACC4FE | 0.048 |
| Deuteranopia (no green cones) | #AFC3F9 | 0.045 |
| Tritanopia (no blue cones) | #C5C4D1 | 0.074 |
| Achromatopsia (no color) | #C4C4C4 | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CDBAFB
#CDBAFB
oklch(82.7% 0.092 297.8)
- #C1CF8A
#C1CF8A
oklch(82.7% 0.092 117.8)
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 #CDBAFB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.019
- Pale Violet #CEAEFA ΔE 0.030
- Light Periwinkle #C1C6FC ΔE 0.033
- Light Lavender #DFC5FE ΔE 0.040
- Light Lavendar #EFC0FE ΔE 0.054
- Pale Lilac #E4CBFF ΔE 0.057
- Pastel Blue #A2BFFE ΔE 0.057
- Thistle #D8BFD8 ΔE 0.057
Use #CDBAFB 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.