#8762C8#8762C8
#8762C8 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.0% C 0.154 H 298.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8762C8 |
|---|---|
| RGB | rgb(135, 98, 200) |
| HSL | hsl(262, 48%, 58%) |
| HSV | hsv(262, 51%, 78%) |
| CMYK | cmyk(32.5%, 51%, 0%, 21.6%) |
| CIE-LAB | lab(49.56, 36.82, -47.97) |
| CIE-LCH | lch(49.56, 60.47, 307.51°) |
| OKLab | oklab(58.04% 0.0726 -0.1353) |
| OKLCH | oklch(58.04% 0.154 298.2) |
| XYZ | xyz(24.7821, 18.0561, 56.8119) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.93
Amethyst
#9B5FC0
ΔE00 5.06
Purpley
#8756E4
ΔE00 5.27
Mediumpurple
#9370DB
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 5.99
Deep Lilac
#966EBD
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8762C8 #A3C862
analogous
#6270C8 #8762C8 #BA62C8
triadic
#8762C8 #C88762 #62C887
tetradic
#8762C8 #C86270 #A3C862 #62C8BA
square
#8762C8 #C86270 #A3C862 #62C8BA
split-complementary
#8762C8 #C8BA62 #70C862
monochromatic
#4C2E82 #673DAF #8762C8 #AA8FD8 #CCBDE8
Accessibility & contrast
On white
4.55
#8762C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#8762C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8762C8
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8762C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8762C8 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#79768C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8762c8; /* rgb */ color: rgb(135, 98, 200); /* oklch */ color: oklch(58.0% 0.154 298.2);
Tailwind
colors: {
custom: {
50: '#ad8fd9',
500: '#8762c8',
950: '#000000',
},
}SCSS
$custom: #8762c8; $custom-light: #ad8fd9; $custom-dark: #000000;
JSON
{
"hex": "#8762c8",
"rgb": {
"r": 135,
"g": 98,
"b": 200
},
"hsl": {
"h": 261.765,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.58041,
"c": 0.15358,
"h": 298.2
},
"luminance": 0.18056
}Semantic roles & 50–950 ramp
primary
#8762C8
secondary
#C8D7AF
accent
#D850A7
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#100C15
muted
#7F7D83