#754CC2#754CC2
#754CC2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.177 H 295.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #754CC2 |
|---|---|
| RGB | rgb(117, 76, 194) |
| HSL | hsl(261, 49%, 53%) |
| HSV | hsv(261, 61%, 76%) |
| CMYK | cmyk(39.7%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(42.53, 43.40, -55.89) |
| CIE-LCH | lch(42.53, 70.76, 307.83°) |
| OKLab | oklab(52.31% 0.0765 -0.1591) |
| OKLCH | oklch(52.31% 0.177 295.7) |
| XYZ | xyz(19.6556, 12.8454, 52.4723) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.44
Royal Purple
#7851A9
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.11
Iris
#6258C4
ΔE00 5.37
Bluish Purple
#703BE7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754CC2 #99C24C
analogous
#4C5EC2 #754CC2 #B04CC2
triadic
#754CC2 #C2754C #4CC275
tetradic
#754CC2 #C24C5E #99C24C #4CC2B0
square
#754CC2 #C24C5E #99C24C #4CC2B0
split-complementary
#754CC2 #C2B04C #5EC24C
monochromatic
#3F266E #59359C #754CC2 #987AD2 #BBA7E1
Accessibility & contrast
On white
5.88
#754CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#754CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754CC2
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754CC2 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0E63BF
Tritanopia (blue-blind)
#626680
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #754cc2; /* rgb */ color: rgb(117, 76, 194); /* oklch */ color: oklch(52.3% 0.177 295.7);
Tailwind
colors: {
custom: {
50: '#a280d5',
500: '#754cc2',
950: '#000000',
},
}SCSS
$custom: #754cc2; $custom-light: #a280d5; $custom-dark: #000000;
JSON
{
"hex": "#754cc2",
"rgb": {
"r": 117,
"g": 76,
"b": 194
},
"hsl": {
"h": 260.847,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.52307,
"c": 0.17656,
"h": 295.7
},
"luminance": 0.12846
}Semantic roles & 50–950 ramp
primary
#754CC2
secondary
#BDCE9B
accent
#D94FA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83