#8762CF#8762CF
#8762CF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.163 H 296.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8762CF |
|---|---|
| RGB | rgb(135, 98, 207) |
| HSL | hsl(260, 53%, 60%) |
| HSV | hsv(260, 53%, 81%) |
| CMYK | cmyk(34.8%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(49.97, 38.64, -51.34) |
| CIE-LCH | lch(49.97, 64.25, 306.97°) |
| OKLab | oklab(58.47% 0.0731 -0.1452) |
| OKLCH | oklch(58.47% 0.163 296.7) |
| XYZ | xyz(25.6190, 18.3909, 61.2194) |
| Luminance | 0.1839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.36
Mediumpurple
#9370DB
ΔE00 4.96
Deep Lavender
#8D5EB7
ΔE00 5.00
Light Indigo
#6D5ACF
ΔE00 5.63
Amethyst
#9B5FC0
ΔE00 5.73
Mediumslateblue
#7B68EE
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8762CF #AACF62
analogous
#6274CF #8762CF #BE62CF
triadic
#8762CF #CF8762 #62CF87
tetradic
#8762CF #CF6274 #AACF62 #62CFBE
square
#8762CF #CF6274 #AACF62 #62CFBE
split-complementary
#8762CF #CFBE62 #74CF62
monochromatic
#4C2B8C #6539BB #8762CF #AB91DD #CFC0EC
Accessibility & contrast
On white
4.49
#8762CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#8762CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8762CF
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8762CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8762CF | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3777D3
Deuteranopia (green-blind)
#4076CC
Tritanopia (blue-blind)
#77788F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8762cf; /* rgb */ color: rgb(135, 98, 207); /* oklch */ color: oklch(58.5% 0.163 296.7);
Tailwind
colors: {
custom: {
50: '#ae8fde',
500: '#8762cf',
950: '#000000',
},
}SCSS
$custom: #8762cf; $custom-light: #ae8fde; $custom-dark: #000000;
JSON
{
"hex": "#8762cf",
"rgb": {
"r": 135,
"g": 98,
"b": 207
},
"hsl": {
"h": 260.367,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.5847,
"c": 0.16256,
"h": 296.7
},
"luminance": 0.18391
}Semantic roles & 50–950 ramp
primary
#8762CF
secondary
#CDDBB1
accent
#DD4BAB
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83