#754CA2#754CA2
#754CA2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.137 H 303.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #754CA2 |
|---|---|
| RGB | rgb(117, 76, 162) |
| HSL | hsl(269, 36%, 47%) |
| HSV | hsv(269, 53%, 64%) |
| CMYK | cmyk(27.8%, 53.1%, 0%, 36.5%) |
| CIE-LAB | lab(40.51, 35.02, -40.28) |
| CIE-LCH | lch(40.51, 53.38, 311.01°) |
| OKLab | oklab(50.17% 0.0762 -0.1133) |
| OKLCH | oklch(50.17% 0.137 303.9) |
| XYZ | xyz(16.4407, 11.5595, 35.5405) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.81
Rebeccapurple
#663399
ΔE00 7.01
Purply
#983FB2
ΔE00 7.42
Deep Lavender
#8D5EB7
ΔE00 7.43
Bluey Purple
#6241C7
ΔE00 8.26
Iris
#6258C4
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754CA2 #79A24C
analogous
#4C4EA2 #754CA2 #A04CA2
triadic
#754CA2 #A2754C #4CA275
tetradic
#754CA2 #A24C4E #79A24C #4CA2A0
square
#754CA2 #A24C4E #79A24C #4CA2A0
split-complementary
#754CA2 #A2A04C #4EA24C
monochromatic
#39254F #573878 #754CA2 #9470BC #B399CF
Accessibility & contrast
On white
6.34
#754CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#754CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754CA2
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754CA2 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305EA5
Deuteranopia (green-blind)
#3C5FA0
Tritanopia (blue-blind)
#6D5C70
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #754ca2; /* rgb */ color: rgb(117, 76, 162); /* oklch */ color: oklch(50.2% 0.137 303.9);
Tailwind
colors: {
custom: {
50: '#9f7fbe',
500: '#754ca2',
950: '#000000',
},
}SCSS
$custom: #754ca2; $custom-light: #9f7fbe; $custom-dark: #000000;
JSON
{
"hex": "#754ca2",
"rgb": {
"r": 117,
"g": 76,
"b": 162
},
"hsl": {
"h": 268.605,
"s": 36.134,
"l": 46.667
},
"oklch": {
"l": 0.50173,
"c": 0.13653,
"h": 303.9
},
"luminance": 0.11559
}Semantic roles & 50–950 ramp
primary
#754CA2
secondary
#A6BC8E
accent
#CC5C97
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81