#7F55F2#7F55F2
#7F55F2 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.223 H 290.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7F55F2 |
|---|---|
| RGB | rgb(127, 85, 242) |
| HSL | hsl(256, 86%, 64%) |
| HSV | hsv(256, 65%, 95%) |
| CMYK | cmyk(47.5%, 64.9%, 0%, 5.1%) |
| CIE-LAB | lab(48.78, 53.55, -73.09) |
| CIE-LCH | lch(48.78, 90.60, 306.23°) |
| OKLab | oklab(58.16% 0.0762 -0.2094) |
| OKLCH | oklch(58.16% 0.223 290) |
| XYZ | xyz(28.0233, 17.4187, 85.8728) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.37
Mediumslateblue
#7B68EE
ΔE00 5.16
Light Indigo
#6D5ACF
ΔE00 5.71
Slate Blue
#6A5ACD
ΔE00 6.24
Dark Periwinkle
#665FD1
ΔE00 6.69
Lighter Purple
#A55AF4
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F55F2 #C8F255
analogous
#557AF2 #7F55F2 #CE55F2
triadic
#7F55F2 #F27F55 #55F27F
tetradic
#7F55F2 #F2557A #C8F255 #55F2CE
square
#7F55F2 #F2557A #C8F255 #55F2CE
split-complementary
#7F55F2 #F2CE55 #7AF255
monochromatic
#3D0FBE #541CEE #7F55F2 #AA8EF6 #D5C7FB
Accessibility & contrast
On white
4.68
#7F55F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#7F55F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F55F2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F55F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F55F2 | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#597B9C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f55f2; /* rgb */ color: rgb(127, 85, 242); /* oklch */ color: oklch(58.2% 0.223 290.0);
Tailwind
colors: {
custom: {
50: '#ad87f7',
500: '#7f55f2',
950: '#000000',
},
}SCSS
$custom: #7f55f2; $custom-light: #ad87f7; $custom-dark: #000000;
JSON
{
"hex": "#7f55f2",
"rgb": {
"r": 127,
"g": 85,
"b": 242
},
"hsl": {
"h": 256.051,
"s": 85.792,
"l": 64.118
},
"oklch": {
"l": 0.58158,
"c": 0.2228,
"h": 290
},
"luminance": 0.1742
}Semantic roles & 50–950 ramp
primary
#7F55F2
secondary
#DEEDB6
accent
#E203A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85