#7442C8#7442C8
#7442C8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.197 H 295.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7442C8 |
|---|---|
| RGB | rgb(116, 66, 200) |
| HSL | hsl(262, 55%, 52%) |
| HSV | hsv(262, 67%, 78%) |
| CMYK | cmyk(42%, 67%, 0%, 21.6%) |
| CIE-LAB | lab(40.86, 50.17, -62.08) |
| CIE-LCH | lch(40.86, 79.82, 308.94°) |
| OKLab | oklab(51.21% 0.0856 -0.1773) |
| OKLCH | oklch(51.21% 0.197 295.8) |
| XYZ | xyz(19.5732, 11.7791, 55.8747) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.08
Bluish Purple
#703BE7
ΔE00 4.21
Burple
#6832E3
ΔE00 4.79
Blueviolet
#8A2BE2
ΔE00 5.27
Blurple
#5539CC
ΔE00 5.38
Blue With A Hint Of Purple
#533CC6
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7442C8 #96C842
analogous
#4253C8 #7442C8 #B742C8
triadic
#7442C8 #C87442 #42C874
tetradic
#7442C8 #C84253 #96C842 #42C8B7
square
#7442C8 #C84253 #96C842 #42C8B7
split-complementary
#7442C8 #C8B742 #53C842
monochromatic
#3E206F #582E9F #7442C8 #9771D6 #BAA1E4
Accessibility & contrast
On white
6.26
#7442C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7442C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7442C8
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7442C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7442C8 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#5E627F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7442c8; /* rgb */ color: rgb(116, 66, 200); /* oklch */ color: oklch(51.2% 0.197 295.8);
Tailwind
colors: {
custom: {
50: '#a27ada',
500: '#7442c8',
950: '#000000',
},
}SCSS
$custom: #7442c8; $custom-light: #a27ada; $custom-dark: #000000;
JSON
{
"hex": "#7442c8",
"rgb": {
"r": 116,
"g": 66,
"b": 200
},
"hsl": {
"h": 262.388,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.51212,
"c": 0.19692,
"h": 295.8
},
"luminance": 0.1178
}Semantic roles & 50–950 ramp
primary
#7442C8
secondary
#BAD096
accent
#DE4AA7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83