#754FC6#754FC6
#754FC6 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.177 H 294.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #754FC6 |
|---|---|
| RGB | rgb(117, 79, 198) |
| HSL | hsl(259, 51%, 54%) |
| HSV | hsv(259, 60%, 78%) |
| CMYK | cmyk(40.9%, 60.1%, 0%, 22.4%) |
| CIE-LAB | lab(43.43, 42.80, -56.75) |
| CIE-LCH | lch(43.43, 71.08, 307.02°) |
| OKLab | oklab(53.05% 0.0729 -0.1616) |
| OKLCH | oklch(53.05% 0.177 294.3) |
| XYZ | xyz(20.3224, 13.4506, 54.9406) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.97
Slate Blue
#6A5ACD
ΔE00 4.19
Iris
#6258C4
ΔE00 4.72
Bluey Purple
#6241C7
ΔE00 4.86
Royal Purple
#7851A9
ΔE00 5.26
Purpley
#8756E4
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754FC6 #A0C64F
analogous
#4F65C6 #754FC6 #B14FC6
triadic
#754FC6 #C6754F #4FC675
tetradic
#754FC6 #C64F65 #A0C64F #4FC6B1
square
#754FC6 #C64F65 #A0C64F #4FC6B1
split-complementary
#754FC6 #C6B14F #65C64F
monochromatic
#3F2675 #5835A3 #754FC6 #997DD5 #BDABE4
Accessibility & contrast
On white
5.69
#754FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#754FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754FC6
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754FC6 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#0D65C3
Tritanopia (blue-blind)
#606983
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #754fc6; /* rgb */ color: rgb(117, 79, 198); /* oklch */ color: oklch(53.1% 0.177 294.3);
Tailwind
colors: {
custom: {
50: '#a282d8',
500: '#754fc6',
950: '#000000',
},
}SCSS
$custom: #754fc6; $custom-light: #a282d8; $custom-dark: #000000;
JSON
{
"hex": "#754fc6",
"rgb": {
"r": 117,
"g": 79,
"b": 198
},
"hsl": {
"h": 259.16,
"s": 51.073,
"l": 54.314
},
"oklch": {
"l": 0.53054,
"c": 0.17731,
"h": 294.3
},
"luminance": 0.13451
}Semantic roles & 50–950 ramp
primary
#754FC6
secondary
#C2D29F
accent
#DB4DAD
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A15
muted
#7F7C83