#7A55F6#7A55F6
#7A55F6 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.228 H 287.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7A55F6 |
|---|---|
| RGB | rgb(122, 85, 246) |
| HSL | hsl(254, 90%, 65%) |
| HSV | hsv(254, 65%, 96%) |
| CMYK | cmyk(50.4%, 65.4%, 0%, 3.5%) |
| CIE-LAB | lab(48.62, 53.78, -75.61) |
| CIE-LCH | lch(48.62, 92.79, 305.42°) |
| OKLab | oklab(58.02% 0.0691 -0.2169) |
| OKLCH | oklch(58.02% 0.228 287.7) |
| XYZ | xyz(27.9042, 17.2871, 89.0373) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.25
Mediumslateblue
#7B68EE
ΔE00 5.12
Light Indigo
#6D5ACF
ΔE00 5.75
Slate Blue
#6A5ACD
ΔE00 6.23
Dark Periwinkle
#665FD1
ΔE00 6.50
Purpleish Blue
#6140EF
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A55F6 #D1F655
analogous
#5580F6 #7A55F6 #CB55F6
triadic
#7A55F6 #F67A55 #55F67A
tetradic
#7A55F6 #F65580 #D1F655 #55F6CB
square
#7A55F6 #F65580 #D1F655 #55F6CB
split-complementary
#7A55F6 #F6CB55 #80F655
monochromatic
#360AC6 #4D1BF3 #7A55F6 #A78FF9 #D5C9FC
Accessibility & contrast
On white
4.71
#7A55F6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#7A55F6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A55F6
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A55F6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A55F6 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#4C7D9E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7a55f6; /* rgb */ color: rgb(122, 85, 246); /* oklch */ color: oklch(58.0% 0.228 287.7);
Tailwind
colors: {
custom: {
50: '#aa87fa',
500: '#7a55f6',
950: '#000000',
},
}SCSS
$custom: #7a55f6; $custom-light: #aa87fa; $custom-dark: #000000;
JSON
{
"hex": "#7a55f6",
"rgb": {
"r": 122,
"g": 85,
"b": 246
},
"hsl": {
"h": 253.789,
"s": 89.944,
"l": 64.902
},
"oklch": {
"l": 0.58023,
"c": 0.22768,
"h": 287.7
},
"luminance": 0.17288
}Semantic roles & 50–950 ramp
primary
#7A55F6
secondary
#E2EFB8
accent
#E600B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85