Nearest named color · #8C488E
#8C488E
Nearest named color: Prunella
#8C488E (rgb(140 72 142), hsl(298 33% 42%), oklch(0.512 0.131 326.2)) is closest to the named color Prunella. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#8C488E
oklch(0.512 0.131 326.2)
Color conversions
- HEX
- #8c488e
- RGB
- rgb(140 72 142)
- HSL
- hsl(298 33% 42%)
- HWB
- hwb(298 28% 44%)
- OKLCH
- oklch(0.512 0.131 326.2)
- OKLab
- oklab(0.512 0.109 -0.073)
- CIE Lab
- lab(41.41 37.26 -26.37)
- LCH
- lch(41.41 45.64 324.7)
- CMYK
- cmyk(1% 49% 0% 44%)
Tints · Shades · Tones
Tints
- 985A99
- A46CA4
- AF7EB0
- BB90BB
- C6A2C6
- D2B4D2
- DDC6DD
- E8D9E8
- F4ECF4
Shades
- 793D7B
- 673368
- 552956
- 431F44
- 331634
- 230D24
- 140615
- 070207
- 010001
Tones
- 8B4F8D
- 8B558C
- 8A5B8B
- 896089
- 886688
- 866B86
- 857185
- 847683
- 827B82
Color harmonies
Complementary +180°
- 8C488E
Prunella
- 267A34
≈ Gorgeous Green
Analogous -30° +30°
- 8C488E
Prunella
- 6F54A8
≈ Prophet Violet
- 9E4169
≈ Satsuma Imo Red
Triadic +120° +240°
- 8C488E
Prunella
- 816100
≈ Ground Earth
- 00747F
≈ Night Scape
Split-complementary +150° +210°
- 8C488E
Prunella
- 636E00
≈ Brownish Green
- 007865
≈ Shady Glade
Tetradic +90° +180° +270°
- 8C488E
Prunella
- 9B5000
≈ Burnt Bagel
- 267A34
≈ Gorgeous Green
- 006F9D
≈ Disarm
Contrast & accessibility
Ag
AAOn white
WCAG 6.11:1 · APCA Lc 80
Ag
FailOn black
WCAG 3.43:1 · APCA Lc 22
Best text color: #FFFFFF
WCAG 6.11:1 (AA) · APCA Lc 80
Contrast pairs
Code snippets
CSS
:root {
--prunella: #8c488e;
--prunella-rgb: 140 72 142;
--prunella-oklch: oklch(0.512 0.131 326.2);
}
.element {
color: var(--prunella);
background-color: hsl(298 33% 42%);
border-color: oklch(0.512 0.131 326.2);
}Tailwind CSS v4
@theme {
--color-prunella: #8c488e;
--color-prunella-50: #ffe9ff;
--color-prunella-100: #ffd9fe;
--color-prunella-200: #f4c1f1;
--color-prunella-300: #dc9fd9;
--color-prunella-400: #c682c8;
--color-prunella-500: #b264b4;
--color-prunella-600: #965598;
--color-prunella-700: #79447a;
--color-prunella-800: #58315c;
--color-prunella-900: #3e2140;
--color-prunella-950: #271029;
}SCSS
$prunella: #8c488e;
$prunella-rgb: 140, 72, 142;
$prunella-light: mix(#fff, $prunella, 20%);
$prunella-dark: mix(#000, $prunella, 20%);
.element {
color: $prunella;
box-shadow: 0 0 0 2px rgba($prunella, 0.35);
}