#7742BE#7742BE
#7742BE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.186 H 299.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7742BE |
|---|---|
| RGB | rgb(119, 66, 190) |
| HSL | hsl(266, 49%, 50%) |
| HSV | hsv(266, 65%, 75%) |
| CMYK | cmyk(37.4%, 65.3%, 0%, 25.5%) |
| CIE-LAB | lab(40.47, 48.17, -56.88) |
| CIE-LCH | lch(40.47, 74.54, 310.26°) |
| OKLab | oklab(50.78% 0.091 -0.1619) |
| OKLCH | oklch(50.78% 0.186 299.3) |
| XYZ | xyz(18.8479, 11.5359, 49.9389) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.12
Royal Purple
#7851A9
ΔE00 5.50
Bluish Purple
#703BE7
ΔE00 5.80
Blueviolet
#8A2BE2
ΔE00 5.93
Burple
#6832E3
ΔE00 6.19
Darkorchid
#9932CC
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7742BE #89BE42
analogous
#424BBE #7742BE #B542BE
triadic
#7742BE #BE7742 #42BE77
tetradic
#7742BE #BE424B #89BE42 #42BEB5
square
#7742BE #BE424B #89BE42 #42BEB5
split-complementary
#7742BE #BEB542 #4BBE42
monochromatic
#3E2263 #5A3291 #7742BE #9870CE #B99DDD
Accessibility & contrast
On white
6.35
#7742BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#7742BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7742BE
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7742BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7742BE | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#675E7A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7742be; /* rgb */ color: rgb(119, 66, 190); /* oklch */ color: oklch(50.8% 0.186 299.3);
Tailwind
colors: {
custom: {
50: '#a37ad2',
500: '#7742be',
950: '#000000',
},
}SCSS
$custom: #7742be; $custom-light: #a37ad2; $custom-dark: #000000;
JSON
{
"hex": "#7742be",
"rgb": {
"r": 119,
"g": 66,
"b": 190
},
"hsl": {
"h": 265.645,
"s": 48.819,
"l": 50.196
},
"oklch": {
"l": 0.50775,
"c": 0.18573,
"h": 299.3
},
"luminance": 0.11536
}Semantic roles & 50–950 ramp
primary
#7742BE
secondary
#B2CA92
accent
#D84F9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83