#CB7FE2
Closest named color: Orchid (#DA70D6). oklch(71.2% 0.16 318), rgb(203, 127, 226).
Aa
Black text reads best on this color (7.67:1).
About this color
#CB7FE2 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.160 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.040 away. Black text reads best on it, at 7.67:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.160) |
| Temperature | in between |
| Nearest name | Orchid (#DA70D6) |
| Black text | 7.67:1 |
| White text | 2.73:1 |
Values
| HEX | #CB7FE2 |
| RGB | rgb(203, 127, 226) |
| HSL | hsl(286, 63%, 69%) |
| OKLCH | oklch(71.2% 0.16 318) |
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 #CB7FE2 | 2.73:1 | Fails | Lc -57.9 | Large or bold text, headings |
| Black text on #CB7FE2 | 7.67:1 | AAA | Lc 51.3 | Large or bold text, headings |
| #CB7FE2 text on white | 2.73:1 | Fails | Lc 52.7 | Large or bold text, headings |
| #CB7FE2 text on black | 7.67:1 | AAA | Lc -49.2 | 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
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F2E4F7
oklch(93.6% 0.029 317.2)
-
Step 200
200
#E9CEF1
oklch(88.5% 0.055 318.4)
-
Step 300
300
#DCACEB
oklch(80.9% 0.101 318)
-
Step 400
400 (this color)
#CB7FE2
oklch(71.2% 0.16 318)
-
Step 500
500
#BB57D7
oklch(63.2% 0.204 318.3)
-
Step 600
600
#A635C4
oklch(55.6% 0.221 318.2)
-
Step 700
700
#8E25AA
oklch(49.1% 0.207 317.9)
-
Step 800
800
#732289
oklch(42.6% 0.17 318)
-
Step 900
900
#5D236E
oklch(37.6% 0.133 317.7)
-
Step 950
950
#371640
oklch(27% 0.084 318.6)
#CB7FE2 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) | #6F97E6 | 0.139 |
| Deuteranopia (no green cones) | #839FDF | 0.126 |
| Tritanopia (no blue cones) | #CB8CA6 | 0.103 |
| Achromatopsia (no color) | #9C9C9C | 0.161 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CB7FE2
#CB7FE2
oklch(71.2% 0.16 318)
- #6CB950
#6CB950
oklch(71.3% 0.16 138.1)
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 #CB7FE2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Orchid #DA70D6 ΔE 0.040
- Lavender Pink #DD85D7 ΔE 0.041
- Light Purple #BF77F6 ΔE 0.044
- Liliac #C48EFD ΔE 0.047
- Pale Purple #B790D4 ΔE 0.057
- Easter Purple #C071FE ΔE 0.061
- Violet #EE82EE ΔE 0.063
- Purply Pink #F075E6 ΔE 0.065
Use #CB7FE2 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.