#8748CF#8748CF
#8748CF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.6% C 0.200 H 301.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8748CF |
|---|---|
| RGB | rgb(135, 72, 207) |
| HSL | hsl(268, 58%, 55%) |
| HSV | hsv(268, 65%, 81%) |
| CMYK | cmyk(34.8%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(44.65, 52.72, -59.89) |
| CIE-LCH | lch(44.65, 79.79, 311.35°) |
| OKLab | oklab(54.58% 0.1043 -0.1703) |
| OKLCH | oklch(54.58% 0.2 301.5) |
| XYZ | xyz(23.5688, 14.2905, 60.5360) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.66
Purpley
#8756E4
ΔE00 4.89
Blueviolet
#8A2BE2
ΔE00 5.01
Bluish Purple
#703BE7
ΔE00 5.78
Purply
#983FB2
ΔE00 6.61
Royal Purple
#7851A9
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8748CF #90CF48
analogous
#484CCF #8748CF #CB48CF
triadic
#8748CF #CF8748 #48CF87
tetradic
#8748CF #CF484C #90CF48 #48CFCB
square
#8748CF #CF484C #90CF48 #48CFCB
split-complementary
#8748CF #CFCB48 #4CCF48
monochromatic
#4B217C #692DAD #8748CF #A778DC #C7A9E8
Accessibility & contrast
On white
5.44
#8748CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#8748CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8748CF
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8748CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8748CF | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0869CC
Tritanopia (blue-blind)
#786685
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8748cf; /* rgb */ color: rgb(135, 72, 207); /* oklch */ color: oklch(54.6% 0.200 301.5);
Tailwind
colors: {
custom: {
50: '#af7fde',
500: '#8748cf',
950: '#000000',
},
}SCSS
$custom: #8748cf; $custom-light: #af7fde; $custom-dark: #000000;
JSON
{
"hex": "#8748cf",
"rgb": {
"r": 135,
"g": 72,
"b": 207
},
"hsl": {
"h": 268,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.54579,
"c": 0.19969,
"h": 301.5
},
"luminance": 0.14291
}Semantic roles & 50–950 ramp
primary
#8748CF
secondary
#BBD69D
accent
#E24699
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83