#754CAF#754CAF
#754CAF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.153 H 300.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #754CAF |
|---|---|
| RGB | rgb(117, 76, 175) |
| HSL | hsl(265, 39%, 49%) |
| HSV | hsv(265, 57%, 69%) |
| CMYK | cmyk(33.1%, 56.6%, 0%, 31.4%) |
| CIE-LAB | lab(41.29, 38.36, -46.75) |
| CIE-LCH | lch(41.29, 60.47, 309.37°) |
| OKLab | oklab(51% 0.0768 -0.1323) |
| OKLCH | oklch(51% 0.153 300.1) |
| XYZ | xyz(17.6566, 12.0458, 41.9440) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.12
Bluey Purple
#6241C7
ΔE00 6.23
Iris
#6258C4
ΔE00 6.89
Light Indigo
#6D5ACF
ΔE00 7.10
Slate Blue
#6A5ACD
ΔE00 7.14
Deep Lavender
#8D5EB7
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754CAF #86AF4C
analogous
#4C55AF #754CAF #A74CAF
triadic
#754CAF #AF754C #4CAF75
tetradic
#754CAF #AF4C55 #86AF4C #4CAFA7
square
#754CAF #AF4C55 #86AF4C #4CAFA7
split-complementary
#754CAF #AFA74C #55AF4C
monochromatic
#3C275A #583984 #754CAF #9575C3 #B6A0D6
Accessibility & contrast
On white
6.16
#754CAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#754CAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754CAF
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754CAF | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#3061AD
Tritanopia (blue-blind)
#696076
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #754caf; /* rgb */ color: rgb(117, 76, 175); /* oklch */ color: oklch(51.0% 0.153 300.1);
Tailwind
colors: {
custom: {
50: '#a07fc7',
500: '#754caf',
950: '#000000',
},
}SCSS
$custom: #754caf; $custom-light: #a07fc7; $custom-dark: #000000;
JSON
{
"hex": "#754caf",
"rgb": {
"r": 117,
"g": 76,
"b": 175
},
"hsl": {
"h": 264.848,
"s": 39.442,
"l": 49.216
},
"oklch": {
"l": 0.51002,
"c": 0.15294,
"h": 300.1
},
"luminance": 0.12046
}Semantic roles & 50–950 ramp
primary
#754CAF
secondary
#AFC294
accent
#CF589E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82