#754EA9#754EA9
#754EA9 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.9% C 0.142 H 301.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #754EA9 |
|---|---|
| RGB | rgb(117, 78, 169) |
| HSL | hsl(266, 37%, 48%) |
| HSV | hsv(266, 54%, 66%) |
| CMYK | cmyk(30.8%, 53.8%, 0%, 33.7%) |
| CIE-LAB | lab(41.37, 35.65, -43.07) |
| CIE-LCH | lch(41.37, 55.91, 309.62°) |
| OKLab | oklab(50.94% 0.0739 -0.1215) |
| OKLCH | oklch(50.94% 0.142 301.3) |
| XYZ | xyz(17.2203, 12.0952, 38.9558) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.09
Deep Lavender
#8D5EB7
ΔE00 6.86
Bluey Purple
#6241C7
ΔE00 7.37
Iris
#6258C4
ΔE00 7.43
Purply
#983FB2
ΔE00 7.56
Rebeccapurple
#663399
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754EA9 #82A94E
analogous
#4E54A9 #754EA9 #A24EA9
triadic
#754EA9 #A9754E #4EA975
tetradic
#754EA9 #A94E54 #82A94E #4EA9A2
square
#754EA9 #A94E54 #82A94E #4EA9A2
split-complementary
#754EA9 #A9A24E #54A94E
monochromatic
#3B2755 #583B7F #754EA9 #9575BF #B59FD3
Accessibility & contrast
On white
6.14
#754EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#754EA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754EA9
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754EA9 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D61AC
Deuteranopia (green-blind)
#3961A7
Tritanopia (blue-blind)
#6B5F74
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #754ea9; /* rgb */ color: rgb(117, 78, 169); /* oklch */ color: oklch(50.9% 0.142 301.3);
Tailwind
colors: {
custom: {
50: '#a081c3',
500: '#754ea9',
950: '#000000',
},
}SCSS
$custom: #754ea9; $custom-light: #a081c3; $custom-dark: #000000;
JSON
{
"hex": "#754ea9",
"rgb": {
"r": 117,
"g": 78,
"b": 169
},
"hsl": {
"h": 265.714,
"s": 36.842,
"l": 48.431
},
"oklch": {
"l": 0.50942,
"c": 0.1422,
"h": 301.3
},
"luminance": 0.12095
}Semantic roles & 50–950 ramp
primary
#754EA9
secondary
#ADBF93
accent
#CD5B9C
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A12
muted
#7F7C81