#8762BF#8762BF
#8762BF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.5% C 0.142 H 300.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8762BF |
|---|---|
| RGB | rgb(135, 98, 191) |
| HSL | hsl(264, 42%, 57%) |
| HSV | hsv(264, 49%, 75%) |
| CMYK | cmyk(29.3%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(49.07, 34.52, -43.58) |
| CIE-LCH | lch(49.07, 55.60, 308.38°) |
| OKLab | oklab(57.51% 0.0718 -0.1225) |
| OKLCH | oklch(57.51% 0.142 300.4) |
| XYZ | xyz(23.7611, 17.6477, 51.4346) |
| Luminance | 0.1765 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.61
Amethyst
#9B5FC0
ΔE00 4.48
Deep Lilac
#966EBD
ΔE00 5.28
Mediumpurple
#9370DB
ΔE00 6.34
Royal Purple
#7851A9
ΔE00 6.51
Purpley
#8756E4
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8762BF #9ABF62
analogous
#626CBF #8762BF #B662BF
triadic
#8762BF #BF8762 #62BF87
tetradic
#8762BF #BF626C #9ABF62 #62BFB6
square
#8762BF #BF626C #9ABF62 #62BFB6
split-complementary
#8762BF #BFB662 #6CBF62
monochromatic
#4C3076 #6842A2 #8762BF #A88DD1 #C9B9E2
Accessibility & contrast
On white
4.64
#8762BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#8762BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8762BF
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8762BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8762BF | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4574C2
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#7C7387
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8762bf; /* rgb */ color: rgb(135, 98, 191); /* oklch */ color: oklch(57.5% 0.142 300.4);
Tailwind
colors: {
custom: {
50: '#ac8fd3',
500: '#8762bf',
950: '#000000',
},
}SCSS
$custom: #8762bf; $custom-light: #ac8fd3; $custom-dark: #000000;
JSON
{
"hex": "#8762bf",
"rgb": {
"r": 135,
"g": 98,
"b": 191
},
"hsl": {
"h": 263.871,
"s": 42.081,
"l": 56.667
},
"oklch": {
"l": 0.57508,
"c": 0.14197,
"h": 300.4
},
"luminance": 0.17648
}Semantic roles & 50–950 ramp
primary
#8762BF
secondary
#C2D1AB
accent
#D256A1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83