#7742BF#7742BF
#7742BF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.187 H 299.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7742BF |
|---|---|
| RGB | rgb(119, 66, 191) |
| HSL | hsl(265, 49%, 50%) |
| HSV | hsv(265, 65%, 75%) |
| CMYK | cmyk(37.7%, 65.4%, 0%, 25.1%) |
| CIE-LAB | lab(40.54, 48.43, -57.35) |
| CIE-LCH | lch(40.54, 75.06, 310.18°) |
| OKLab | oklab(50.85% 0.0908 -0.1633) |
| OKLCH | oklch(50.85% 0.187 299.1) |
| XYZ | xyz(18.9576, 11.5797, 50.5164) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.04
Royal Purple
#7851A9
ΔE00 5.60
Bluish Purple
#703BE7
ΔE00 5.65
Blueviolet
#8A2BE2
ΔE00 5.83
Burple
#6832E3
ΔE00 6.07
Darkorchid
#9932CC
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7742BF #8ABF42
analogous
#424BBF #7742BF #B542BF
triadic
#7742BF #BF7742 #42BF77
tetradic
#7742BF #BF424B #8ABF42 #42BFB5
square
#7742BF #BF424B #8ABF42 #42BFB5
split-complementary
#7742BF #BFB542 #4BBF42
monochromatic
#3E2265 #5B3292 #7742BF #9870CE #B99DDE
Accessibility & contrast
On white
6.33
#7742BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#7742BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7742BF
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7742BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7742BF | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#675E7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7742bf; /* rgb */ color: rgb(119, 66, 191); /* oklch */ color: oklch(50.8% 0.187 299.1);
Tailwind
colors: {
custom: {
50: '#a37ad3',
500: '#7742bf',
950: '#000000',
},
}SCSS
$custom: #7742bf; $custom-light: #a37ad3; $custom-dark: #000000;
JSON
{
"hex": "#7742bf",
"rgb": {
"r": 119,
"g": 66,
"b": 191
},
"hsl": {
"h": 265.44,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.50849,
"c": 0.18688,
"h": 299.1
},
"luminance": 0.1158
}Semantic roles & 50–950 ramp
primary
#7742BF
secondary
#B3CA93
accent
#D94F9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83