#754FBB#754FBB
#754FBB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.164 H 296.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #754FBB |
|---|---|
| RGB | rgb(117, 79, 187) |
| HSL | hsl(261, 44%, 52%) |
| HSV | hsv(261, 58%, 73%) |
| CMYK | cmyk(37.4%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(42.70, 39.82, -51.53) |
| CIE-LCH | lch(42.70, 65.12, 307.70°) |
| OKLab | oklab(52.29% 0.0731 -0.1463) |
| OKLCH | oklch(52.29% 0.164 296.6) |
| XYZ | xyz(19.0995, 12.9614, 48.4996) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.56
Light Indigo
#6D5ACF
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.16
Iris
#6258C4
ΔE00 5.26
Bluey Purple
#6241C7
ΔE00 5.39
Deep Lavender
#8D5EB7
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754FBB #95BB4F
analogous
#4F5FBB #754FBB #AB4FBB
triadic
#754FBB #BB754F #4FBB75
tetradic
#754FBB #BB4F5F #95BB4F #4FBBAB
square
#754FBB #BB4F5F #95BB4F #4FBBAB
split-complementary
#754FBB #BBAB4F #5FBB4F
monochromatic
#3E2868 #593994 #754FBB #987BCC #BAA7DD
Accessibility & contrast
On white
5.85
#754FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#754FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754FBB
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754FBB | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1565BF
Deuteranopia (green-blind)
#2663B9
Tritanopia (blue-blind)
#64667D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #754fbb; /* rgb */ color: rgb(117, 79, 187); /* oklch */ color: oklch(52.3% 0.164 296.6);
Tailwind
colors: {
custom: {
50: '#a182d0',
500: '#754fbb',
950: '#000000',
},
}SCSS
$custom: #754fbb; $custom-light: #a182d0; $custom-dark: #000000;
JSON
{
"hex": "#754fbb",
"rgb": {
"r": 117,
"g": 79,
"b": 187
},
"hsl": {
"h": 261.111,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.52287,
"c": 0.16354,
"h": 296.6
},
"luminance": 0.12962
}Semantic roles & 50–950 ramp
primary
#754FBB
secondary
#BACA9B
accent
#D454A7
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82