Nearest named color · #8039E4
#8039E4
Nearest named color: Hokkaido Lavender
#8039E4 (rgb(128 57 228), hsl(265 76% 56%), oklch(0.537 0.238 296.2)) is closest to the named color Hokkaido Lavender. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#8039E4
oklch(0.537 0.238 296.2)
Color conversions
- HEX
- #8039e4
- RGB
- rgb(128 57 228)
- HSL
- hsl(265 76% 56%)
- HWB
- hwb(265 22% 11%)
- OKLCH
- oklch(0.537 0.238 296.2)
- OKLab
- oklab(0.537 0.105 -0.214)
- CIE Lab
- lab(41.91 56.34 -76.03)
- LCH
- lch(41.91 94.63 306.5)
- CMYK
- cmyk(44% 75% 0% 11%)
Tints · Shades · Tones
Tints
- 8B53E9
- 9669ED
- A27DF1
- AE91F4
- BBA4F7
- C8B6FA
- D5C8FC
- E3DBFD
- F1EDFE
Shades
- 6E30C6
- 5D28A9
- 4D1F8D
- 3D1772
- 2E1058
- 1F093F
- 120428
- 060112
- 010003
Tones
- 7F46DB
- 7F50D1
- 7E58C8
- 7E60BE
- 7E66B5
- 7E6CAB
- 7E72A1
- 7F7796
- 7F7C8B
Color harmonies
Complementary +180°
- 8039E4
Hokkaido Lavender
- 6B7600
≈ Topiary Green
Analogous -30° +30°
- 8039E4
Hokkaido Lavender
- 2D58F5
≈ YInMn Blue
- AE16B5
≈ Barney
Triadic +120° +240°
- 8039E4
Hokkaido Lavender
- A55500
≈ Windsor Brown
- 00806C
≈ Emperor’s Silk
Split-complementary +150° +210°
- 8039E4
Hokkaido Lavender
- 8A6800
≈ Muddy Brown
- 00852A
≈ Broccoli Paradise
Tetradic +90° +180° +270°
- 8039E4
Hokkaido Lavender
- CE001B
≈ Chinese Red
- 6B7600
≈ Topiary Green
- 007C88
≈ Cote D’Azur
Contrast & accessibility
Ag
AAOn white
WCAG 5.79:1 · APCA Lc 78
Ag
FailOn black
WCAG 3.62:1 · APCA Lc 24
Best text color: #FFFFFF
WCAG 5.79:1 (AA) · APCA Lc 78
Contrast pairs
Code snippets
CSS
:root {
--hokkaido-lavender: #8039e4;
--hokkaido-lavender-rgb: 128 57 228;
--hokkaido-lavender-oklch: oklch(0.537 0.238 296.2);
}
.element {
color: var(--hokkaido-lavender);
background-color: hsl(265 76% 56%);
border-color: oklch(0.537 0.238 296.2);
}Tailwind CSS v4
@theme {
--color-hokkaido-lavender: #8039e4;
--color-hokkaido-lavender-50: #fde7ff;
--color-hokkaido-lavender-100: #f1d7ff;
--color-hokkaido-lavender-200: #e1bdff;
--color-hokkaido-lavender-300: #c898ff;
--color-hokkaido-lavender-400: #af76ff;
--color-hokkaido-lavender-500: #9b4dff;
--color-hokkaido-lavender-600: #8243e3;
--color-hokkaido-lavender-700: #6836b7;
--color-hokkaido-lavender-800: #4b278a;
--color-hokkaido-lavender-900: #341a62;
--color-hokkaido-lavender-950: #200943;
}SCSS
$hokkaido-lavender: #8039e4;
$hokkaido-lavender-rgb: 128, 57, 228;
$hokkaido-lavender-light: mix(#fff, $hokkaido-lavender, 20%);
$hokkaido-lavender-dark: mix(#000, $hokkaido-lavender, 20%);
.element {
color: $hokkaido-lavender;
box-shadow: 0 0 0 2px rgba($hokkaido-lavender, 0.35);
}