#754EF2#754EF2
#754EF2 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.231 H 287.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #754EF2 |
|---|---|
| RGB | rgb(117, 78, 242) |
| HSL | hsl(254, 86%, 63%) |
| HSV | hsv(254, 68%, 95%) |
| CMYK | cmyk(51.7%, 67.8%, 0%, 5.1%) |
| CIE-LAB | lab(46.50, 55.53, -76.85) |
| CIE-LCH | lch(46.50, 94.81, 305.85°) |
| OKLab | oklab(56.29% 0.0692 -0.2207) |
| OKLCH | oklch(56.29% 0.231 287.4) |
| XYZ | xyz(26.0828, 15.6402, 85.6317) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.98
Purpleish Blue
#6140EF
ΔE00 4.51
Bluish Purple
#703BE7
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 5.49
Slate Blue
#6A5ACD
ΔE00 5.89
Dark Periwinkle
#665FD1
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754EF2 #CBF24E
analogous
#4E79F2 #754EF2 #C74EF2
triadic
#754EF2 #F2754E #4EF275
tetradic
#754EF2 #F24E79 #CBF24E #4EF2C7
square
#754EF2 #F24E79 #CBF24E #4EF2C7
split-complementary
#754EF2 #F2C74E #79F24E
monochromatic
#360EB8 #4915EE #754EF2 #A187F6 #CEC0FA
Accessibility & contrast
On white
5.09
#754EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#754EF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754EF2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754EF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754EF2 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#45789A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #754ef2; /* rgb */ color: rgb(117, 78, 242); /* oklch */ color: oklch(56.3% 0.231 287.4);
Tailwind
colors: {
custom: {
50: '#a782f7',
500: '#754ef2',
950: '#000000',
},
}SCSS
$custom: #754ef2; $custom-light: #a782f7; $custom-dark: #000000;
JSON
{
"hex": "#754ef2",
"rgb": {
"r": 117,
"g": 78,
"b": 242
},
"hsl": {
"h": 254.268,
"s": 86.316,
"l": 62.745
},
"oklch": {
"l": 0.56293,
"c": 0.23134,
"h": 287.4
},
"luminance": 0.15641
}Semantic roles & 50–950 ramp
primary
#754EF2
secondary
#DDECB0
accent
#E303AE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85