#7754F2#7754F2
#7754F2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.224 H 287.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7754F2 |
|---|---|
| RGB | rgb(119, 84, 242) |
| HSL | hsl(253, 86%, 64%) |
| HSV | hsv(253, 65%, 95%) |
| CMYK | cmyk(50.8%, 65.3%, 0%, 5.1%) |
| CIE-LAB | lab(47.84, 52.68, -74.65) |
| CIE-LCH | lch(47.84, 91.37, 305.21°) |
| OKLab | oklab(57.3% 0.0665 -0.2142) |
| OKLCH | oklch(57.3% 0.224 287.3) |
| XYZ | xyz(26.8004, 16.6721, 85.7931) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.32
Light Indigo
#6D5ACF
ΔE00 5.15
Mediumslateblue
#7B68EE
ΔE00 5.50
Slate Blue
#6A5ACD
ΔE00 5.61
Purpleish Blue
#6140EF
ΔE00 5.92
Dark Periwinkle
#665FD1
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7754F2 #CFF254
analogous
#5480F2 #7754F2 #C654F2
triadic
#7754F2 #F27754 #54F277
tetradic
#7754F2 #F25480 #CFF254 #54F2C6
square
#7754F2 #F25480 #CFF254 #54F2C6
split-complementary
#7754F2 #F2C654 #80F254
monochromatic
#350EBD #4A1BEE #7754F2 #A48DF6 #D1C6FB
Accessibility & contrast
On white
4.84
#7754F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#7754F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7754F2
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7754F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7754F2 | 1.00 | 4.84 | 4.33 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#497B9C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7754f2; /* rgb */ color: rgb(119, 84, 242); /* oklch */ color: oklch(57.3% 0.224 287.3);
Tailwind
colors: {
custom: {
50: '#a886f7',
500: '#7754f2',
950: '#000000',
},
}SCSS
$custom: #7754f2; $custom-light: #a886f7; $custom-dark: #000000;
JSON
{
"hex": "#7754f2",
"rgb": {
"r": 119,
"g": 84,
"b": 242
},
"hsl": {
"h": 253.291,
"s": 85.87,
"l": 63.922
},
"oklch": {
"l": 0.57303,
"c": 0.2243,
"h": 287.3
},
"luminance": 0.16673
}Semantic roles & 50–950 ramp
primary
#7754F2
secondary
#E0EDB5
accent
#E203B1
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85