#754FC7#754FC7
#754FC7 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.179 H 294.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #754FC7 |
|---|---|
| RGB | rgb(117, 79, 199) |
| HSL | hsl(259, 52%, 55%) |
| HSV | hsv(259, 60%, 78%) |
| CMYK | cmyk(41.2%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(43.50, 43.07, -57.22) |
| CIE-LCH | lch(43.50, 71.62, 306.97°) |
| OKLab | oklab(53.13% 0.0728 -0.163) |
| OKLCH | oklch(53.13% 0.179 294.1) |
| XYZ | xyz(20.4382, 13.4969, 55.5501) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.90
Slate Blue
#6A5ACD
ΔE00 4.13
Iris
#6258C4
ΔE00 4.71
Bluey Purple
#6241C7
ΔE00 4.85
Royal Purple
#7851A9
ΔE00 5.41
Purpley
#8756E4
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754FC7 #A1C74F
analogous
#4F65C7 #754FC7 #B14FC7
triadic
#754FC7 #C7754F #4FC775
tetradic
#754FC7 #C74F65 #A1C74F #4FC7B1
square
#754FC7 #C74F65 #A1C74F #4FC7B1
split-complementary
#754FC7 #C7B14F #65C74F
monochromatic
#3F2676 #5834A4 #754FC7 #997DD6 #BEACE5
Accessibility & contrast
On white
5.68
#754FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#754FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754FC7
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754FC7 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#0865C4
Tritanopia (blue-blind)
#5F6A83
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #754fc7; /* rgb */ color: rgb(117, 79, 199); /* oklch */ color: oklch(53.1% 0.179 294.1);
Tailwind
colors: {
custom: {
50: '#a282d9',
500: '#754fc7',
950: '#000000',
},
}SCSS
$custom: #754fc7; $custom-light: #a282d9; $custom-dark: #000000;
JSON
{
"hex": "#754fc7",
"rgb": {
"r": 117,
"g": 79,
"b": 199
},
"hsl": {
"h": 259,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.53125,
"c": 0.17855,
"h": 294.1
},
"luminance": 0.13497
}Semantic roles & 50–950 ramp
primary
#754FC7
secondary
#C2D2A0
accent
#DB4DAE
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83