#754AC2#754AC2
#754AC2 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.179 H 296.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #754AC2 |
|---|---|
| RGB | rgb(117, 74, 194) |
| HSL | hsl(262, 50%, 53%) |
| HSV | hsv(262, 62%, 76%) |
| CMYK | cmyk(39.7%, 61.9%, 0%, 23.9%) |
| CIE-LAB | lab(42.11, 44.50, -56.56) |
| CIE-LCH | lch(42.11, 71.97, 308.20°) |
| OKLab | oklab(52.01% 0.0788 -0.1611) |
| OKLCH | oklch(52.01% 0.179 296.1) |
| XYZ | xyz(19.5200, 12.5741, 52.4271) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.14
Royal Purple
#7851A9
ΔE00 5.00
Light Indigo
#6D5ACF
ΔE00 5.38
Slate Blue
#6A5ACD
ΔE00 5.53
Bluish Purple
#703BE7
ΔE00 5.71
Iris
#6258C4
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AC2 #97C24A
analogous
#4A5BC2 #754AC2 #B14AC2
triadic
#754AC2 #C2754A #4AC275
tetradic
#754AC2 #C24A5B #97C24A #4AC2B1
square
#754AC2 #C24A5B #97C24A #4AC2B1
split-complementary
#754AC2 #C2B14A #5BC24A
monochromatic
#3F256D #59349B #754AC2 #9878D1 #BBA6E1
Accessibility & contrast
On white
5.97
#754AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#754AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AC2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AC2 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0462BF
Tritanopia (blue-blind)
#62657F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #754ac2; /* rgb */ color: rgb(117, 74, 194); /* oklch */ color: oklch(52.0% 0.179 296.1);
Tailwind
colors: {
custom: {
50: '#a27fd5',
500: '#754ac2',
950: '#000000',
},
}SCSS
$custom: #754ac2; $custom-light: #a27fd5; $custom-dark: #000000;
JSON
{
"hex": "#754ac2",
"rgb": {
"r": 117,
"g": 74,
"b": 194
},
"hsl": {
"h": 261.5,
"s": 49.587,
"l": 52.549
},
"oklch": {
"l": 0.52005,
"c": 0.17934,
"h": 296.1
},
"luminance": 0.12575
}Semantic roles & 50–950 ramp
primary
#754AC2
secondary
#BBCE9A
accent
#D94FA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83