#B542CF
Closest named color: Medium Orchid (#BA55D3). oklch(59.5% 0.222 319.7), rgb(181, 66, 207).
Aa
Black text reads best on this color (4.64:1).
About this color
#B542CF is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.222 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.036 away. Black text reads best on it, at 4.64:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.222) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 4.64:1 |
| White text | 4.52:1 |
Values
| HEX | #B542CF |
| RGB | rgb(181, 66, 207) |
| HSL | hsl(289, 59%, 54%) |
| OKLCH | oklch(59.5% 0.222 319.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 #B542CF | 4.52:1 | AA | Lc -75.9 | Fine for body text |
| Black text on #B542CF | 4.64:1 | AA | Lc 33.6 | Non-text elements, placeholder text |
| #B542CF text on white | 4.52:1 | AA | Lc 70.5 | Content text, not long reading |
| #B542CF text on black | 4.64:1 | AA | Lc -31.2 | 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
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F4E4F7
oklch(93.7% 0.03 320.9)
-
Step 200
200
#EBCDF3
oklch(88.5% 0.061 319.1)
-
Step 300
300
#E0AAED
oklch(81% 0.109 319.7)
-
Step 400
400
#CF78E3
oklch(70.7% 0.174 319.9)
-
Step 500
500 (this color)
#B542CF
oklch(59.5% 0.222 319.7)
-
Step 600
600
#AC26C8
oklch(55.5% 0.241 319.7)
-
Step 700
700
#9414AD
oklch(49.1% 0.224 319.8)
-
Step 800
800
#78178C
oklch(42.7% 0.186 319.8)
-
Step 900
900
#611D70
oklch(37.7% 0.145 319.8)
-
Step 950
950
#391342
oklch(27% 0.092 319.5)
#B542CF 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) | #006FD3 | 0.224 |
| Deuteranopia (no green cones) | #4D7ACC | 0.190 |
| Tritanopia (no blue cones) | #B55C84 | 0.137 |
| Achromatopsia (no color) | #767676 | 0.224 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B542CF
#B542CF
oklch(59.5% 0.222 319.7)
- #309800
#309800
oklch(59.6% 0.191 139.7)
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 #B542CF, closest first.
No curated palette has a color within ΔE 0.04 of #B542CF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.036
- Purpley Pink #C83CB9 ΔE 0.051
- Pinky Purple #C94CBE ΔE 0.055
- Dark Orchid #9932CC ΔE 0.063
- Vibrant Purple #AD03DE ΔE 0.067
- Purply #983FB2 ΔE 0.069
- Purple Pink #D725DE ΔE 0.070
- Lighter Purple #A55AF4 ΔE 0.072
Use #B542CF 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.