#754BBF#754BBF
#754BBF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.174 H 296.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #754BBF |
|---|---|
| RGB | rgb(117, 75, 191) |
| HSL | hsl(262, 48%, 52%) |
| HSV | hsv(262, 61%, 75%) |
| CMYK | cmyk(38.7%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(42.12, 43.15, -54.81) |
| CIE-LCH | lch(42.12, 69.76, 308.21°) |
| OKLab | oklab(51.94% 0.0778 -0.1559) |
| OKLCH | oklch(51.94% 0.174 296.5) |
| XYZ | xyz(19.2537, 12.5753, 50.6930) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.44
Royal Purple
#7851A9
ΔE00 4.48
Light Indigo
#6D5ACF
ΔE00 5.41
Slate Blue
#6A5ACD
ΔE00 5.55
Iris
#6258C4
ΔE00 5.69
Bluish Purple
#703BE7
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754BBF #95BF4B
analogous
#4B5BBF #754BBF #AF4BBF
triadic
#754BBF #BF754B #4BBF75
tetradic
#754BBF #BF4B5B #95BF4B #4BBFAF
square
#754BBF #BF4B5B #95BF4B #4BBFAF
split-complementary
#754BBF #BFAF4B #5BBF4B
monochromatic
#3E266A #593697 #754BBF #9878CF #BAA5DF
Accessibility & contrast
On white
5.97
#754BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#754BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754BBF
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754BBF | 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)
#0064C3
Deuteranopia (green-blind)
#1462BC
Tritanopia (blue-blind)
#63647E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #754bbf; /* rgb */ color: rgb(117, 75, 191); /* oklch */ color: oklch(51.9% 0.174 296.5);
Tailwind
colors: {
custom: {
50: '#a27fd3',
500: '#754bbf',
950: '#000000',
},
}SCSS
$custom: #754bbf; $custom-light: #a27fd3; $custom-dark: #000000;
JSON
{
"hex": "#754bbf",
"rgb": {
"r": 117,
"g": 75,
"b": 191
},
"hsl": {
"h": 261.724,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.51941,
"c": 0.17428,
"h": 296.5
},
"luminance": 0.12576
}Semantic roles & 50–950 ramp
primary
#754BBF
secondary
#BACC9A
accent
#D751A6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83