#754BAA#754BAA
#754BAA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.148 H 301.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #754BAA |
|---|---|
| RGB | rgb(117, 75, 170) |
| HSL | hsl(267, 39%, 48%) |
| HSV | hsv(267, 56%, 67%) |
| CMYK | cmyk(31.2%, 55.9%, 0%, 33.3%) |
| CIE-LAB | lab(40.76, 37.64, -44.63) |
| CIE-LCH | lch(40.76, 58.38, 310.14°) |
| OKLab | oklab(50.51% 0.078 -0.1261) |
| OKLCH | oklch(50.51% 0.148 301.7) |
| XYZ | xyz(17.1062, 11.7163, 39.3827) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.89
Bluey Purple
#6241C7
ΔE00 6.83
Rebeccapurple
#663399
ΔE00 6.87
Purply
#983FB2
ΔE00 7.24
Deep Lavender
#8D5EB7
ΔE00 7.41
Iris
#6258C4
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754BAA #80AA4B
analogous
#4B50AA #754BAA #A44BAA
triadic
#754BAA #AA754B #4BAA75
tetradic
#754BAA #AA4B50 #80AA4B #4BAAA4
square
#754BAA #AA4B50 #80AA4B #4BAAA4
split-complementary
#754BAA #AAA44B #50AA4B
monochromatic
#3B2655 #583880 #754BAA #9572C1 #B49CD3
Accessibility & contrast
On white
6.28
#754BAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#754BAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754BAA
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754BAA | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#3460A8
Tritanopia (blue-blind)
#6B5E73
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #754baa; /* rgb */ color: rgb(117, 75, 170); /* oklch */ color: oklch(50.5% 0.148 301.7);
Tailwind
colors: {
custom: {
50: '#a07fc4',
500: '#754baa',
950: '#000000',
},
}SCSS
$custom: #754baa; $custom-light: #a07fc4; $custom-dark: #000000;
JSON
{
"hex": "#754baa",
"rgb": {
"r": 117,
"g": 75,
"b": 170
},
"hsl": {
"h": 266.526,
"s": 38.776,
"l": 48.039
},
"oklch": {
"l": 0.50514,
"c": 0.14822,
"h": 301.7
},
"luminance": 0.11716
}Semantic roles & 50–950 ramp
primary
#754BAA
secondary
#ABC091
accent
#CF599B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82