#754FC2#754FC2
#754FC2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.172 H 295.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #754FC2 |
|---|---|
| RGB | rgb(117, 79, 194) |
| HSL | hsl(260, 49%, 54%) |
| HSV | hsv(260, 59%, 76%) |
| CMYK | cmyk(39.7%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(43.17, 41.71, -54.86) |
| CIE-LCH | lch(43.17, 68.92, 307.25°) |
| OKLab | oklab(52.77% 0.073 -0.1561) |
| OKLCH | oklch(52.77% 0.172 295.1) |
| XYZ | xyz(19.8671, 13.2685, 52.5428) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.30
Slate Blue
#6A5ACD
ΔE00 4.48
Royal Purple
#7851A9
ΔE00 4.66
Iris
#6258C4
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 4.97
Purpley
#8756E4
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754FC2 #9CC24F
analogous
#4F62C2 #754FC2 #AE4FC2
triadic
#754FC2 #C2754F #4FC275
tetradic
#754FC2 #C24F62 #9CC24F #4FC2AE
square
#754FC2 #C24F62 #9CC24F #4FC2AE
split-complementary
#754FC2 #C2AE4F #62C24F
monochromatic
#3F2770 #58379D #754FC2 #997CD2 #BCAAE2
Accessibility & contrast
On white
5.75
#754FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#754FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754FC2
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754FC2 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#1964BF
Tritanopia (blue-blind)
#626881
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #754fc2; /* rgb */ color: rgb(117, 79, 194); /* oklch */ color: oklch(52.8% 0.172 295.1);
Tailwind
colors: {
custom: {
50: '#a282d5',
500: '#754fc2',
950: '#000000',
},
}SCSS
$custom: #754fc2; $custom-light: #a282d5; $custom-dark: #000000;
JSON
{
"hex": "#754fc2",
"rgb": {
"r": 117,
"g": 79,
"b": 194
},
"hsl": {
"h": 259.826,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.52771,
"c": 0.17232,
"h": 295.1
},
"luminance": 0.13269
}Semantic roles & 50–950 ramp
primary
#754FC2
secondary
#BFCF9E
accent
#D850AB
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83