#7742C8#7742C8
#7742C8 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.197 H 297.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7742C8 |
|---|---|
| RGB | rgb(119, 66, 200) |
| HSL | hsl(264, 55%, 52%) |
| HSV | hsv(264, 67%, 78%) |
| CMYK | cmyk(40.5%, 67%, 0%, 21.6%) |
| CIE-LAB | lab(41.20, 50.75, -61.52) |
| CIE-LCH | lch(41.20, 79.75, 309.52°) |
| OKLab | oklab(51.53% 0.0898 -0.1756) |
| OKLCH | oklch(51.53% 0.197 297.1) |
| XYZ | xyz(19.9786, 11.9881, 55.8937) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.62
Bluish Purple
#703BE7
ΔE00 4.36
Blueviolet
#8A2BE2
ΔE00 5.00
Burple
#6832E3
ΔE00 5.07
Purpley Blue
#5F34E7
ΔE00 5.88
Blurple
#5539CC
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7742C8 #93C842
analogous
#4250C8 #7742C8 #BA42C8
triadic
#7742C8 #C87742 #42C877
tetradic
#7742C8 #C84250 #93C842 #42C8BA
square
#7742C8 #C84250 #93C842 #42C8BA
split-complementary
#7742C8 #C8BA42 #50C842
monochromatic
#40206F #5B2E9F #7742C8 #9971D6 #BBA1E4
Accessibility & contrast
On white
6.18
#7742C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#7742C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7742C8
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7742C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7742C8 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#636280
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7742c8; /* rgb */ color: rgb(119, 66, 200); /* oklch */ color: oklch(51.5% 0.197 297.1);
Tailwind
colors: {
custom: {
50: '#a47ada',
500: '#7742c8',
950: '#000000',
},
}SCSS
$custom: #7742c8; $custom-light: #a47ada; $custom-dark: #000000;
JSON
{
"hex": "#7742c8",
"rgb": {
"r": 119,
"g": 66,
"b": 200
},
"hsl": {
"h": 263.731,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.51528,
"c": 0.19721,
"h": 297.1
},
"luminance": 0.11988
}Semantic roles & 50–950 ramp
primary
#7742C8
secondary
#B9D096
accent
#DE4AA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83