#754DC2#754DC2
#754DC2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.175 H 295.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #754DC2 |
|---|---|
| RGB | rgb(117, 77, 194) |
| HSL | hsl(261, 49%, 53%) |
| HSV | hsv(261, 60%, 76%) |
| CMYK | cmyk(39.7%, 60.3%, 0%, 23.9%) |
| CIE-LAB | lab(42.74, 42.84, -55.55) |
| CIE-LCH | lch(42.74, 70.15, 307.64°) |
| OKLab | oklab(52.46% 0.0754 -0.1581) |
| OKLCH | oklch(52.46% 0.175 295.5) |
| XYZ | xyz(19.7251, 12.9843, 52.4955) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 4.72
Royal Purple
#7851A9
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 4.89
Iris
#6258C4
ΔE00 5.19
Bluish Purple
#703BE7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754DC2 #9AC24D
analogous
#4D5FC2 #754DC2 #AF4DC2
triadic
#754DC2 #C2754D #4DC275
tetradic
#754DC2 #C24D5F #9AC24D #4DC2AF
square
#754DC2 #C24D5F #9AC24D #4DC2AF
split-complementary
#754DC2 #C2AF4D #5FC24D
monochromatic
#3F266F #59369C #754DC2 #987BD2 #BCA8E1
Accessibility & contrast
On white
5.84
#754DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#754DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754DC2
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754DC2 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1263BF
Tritanopia (blue-blind)
#626780
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #754dc2; /* rgb */ color: rgb(117, 77, 194); /* oklch */ color: oklch(52.5% 0.175 295.5);
Tailwind
colors: {
custom: {
50: '#a280d5',
500: '#754dc2',
950: '#000000',
},
}SCSS
$custom: #754dc2; $custom-light: #a280d5; $custom-dark: #000000;
JSON
{
"hex": "#754dc2",
"rgb": {
"r": 117,
"g": 77,
"b": 194
},
"hsl": {
"h": 260.513,
"s": 48.954,
"l": 53.137
},
"oklch": {
"l": 0.5246,
"c": 0.17516,
"h": 295.5
},
"luminance": 0.12985
}Semantic roles & 50–950 ramp
primary
#754DC2
secondary
#BDCF9C
accent
#D94FAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83