#7742CF#7742CF
#7742CF is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.205 H 295.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7742CF |
|---|---|
| RGB | rgb(119, 66, 207) |
| HSL | hsl(263, 59%, 54%) |
| HSV | hsv(263, 68%, 81%) |
| CMYK | cmyk(42.5%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(41.72, 52.57, -64.72) |
| CIE-LCH | lch(41.72, 83.38, 309.09°) |
| OKLab | oklab(52.07% 0.0888 -0.185) |
| OKLCH | oklch(52.07% 0.205 295.6) |
| XYZ | xyz(20.8155, 12.3229, 60.3012) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.45
Bluey Purple
#6241C7
ΔE00 3.66
Burple
#6832E3
ΔE00 4.47
Blueviolet
#8A2BE2
ΔE00 4.54
Purpleish Blue
#6140EF
ΔE00 5.16
Purpley Blue
#5F34E7
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7742CF #9ACF42
analogous
#4253CF #7742CF #BD42CF
triadic
#7742CF #CF7742 #42CF77
tetradic
#7742CF #CF4253 #9ACF42 #42CFBD
square
#7742CF #CF4253 #9ACF42 #42CFBD
split-complementary
#7742CF #CFBD42 #53CF42
monochromatic
#401F78 #5A2BA9 #7742CF #9A73DB #BDA4E8
Accessibility & contrast
On white
6.06
#7742CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#7742CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7742CF
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7742CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7742CF | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#606483
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7742cf; /* rgb */ color: rgb(119, 66, 207); /* oklch */ color: oklch(52.1% 0.205 295.6);
Tailwind
colors: {
custom: {
50: '#a57adf',
500: '#7742cf',
950: '#000000',
},
}SCSS
$custom: #7742cf; $custom-light: #a57adf; $custom-dark: #000000;
JSON
{
"hex": "#7742cf",
"rgb": {
"r": 119,
"g": 66,
"b": 207
},
"hsl": {
"h": 262.553,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.52072,
"c": 0.20518,
"h": 295.6
},
"luminance": 0.12323
}Semantic roles & 50–950 ramp
primary
#7742CF
secondary
#BED598
accent
#E345A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83