#754CBA#754CBA
#754CBA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.167 H 297.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #754CBA |
|---|---|
| RGB | rgb(117, 76, 186) |
| HSL | hsl(262, 44%, 51%) |
| HSV | hsv(262, 59%, 73%) |
| CMYK | cmyk(37.1%, 59.1%, 0%, 27.1%) |
| CIE-LAB | lab(41.99, 41.26, -52.09) |
| CIE-LCH | lch(41.99, 66.45, 308.38°) |
| OKLab | oklab(51.74% 0.0768 -0.1479) |
| OKLCH | oklch(51.74% 0.167 297.4) |
| XYZ | xyz(18.7812, 12.4957, 47.8673) |
| Luminance | 0.1250 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.66
Bluey Purple
#6241C7
ΔE00 4.97
Light Indigo
#6D5ACF
ΔE00 5.71
Slate Blue
#6A5ACD
ΔE00 5.82
Iris
#6258C4
ΔE00 5.83
Bluish Purple
#703BE7
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754CBA #91BA4C
analogous
#4C5ABA #754CBA #AC4CBA
triadic
#754CBA #BA754C #4CBA75
tetradic
#754CBA #BA4C5A #91BA4C #4CBAAC
square
#754CBA #BA4C5A #91BA4C #4CBAAC
split-complementary
#754CBA #BAAC4C #5ABA4C
monochromatic
#3E2765 #593891 #754CBA #9778CB #B9A4DC
Accessibility & contrast
On white
6.00
#754CBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#754CBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754CBA
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754CBA | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0863BE
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#65637C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #754cba; /* rgb */ color: rgb(117, 76, 186); /* oklch */ color: oklch(51.7% 0.167 297.4);
Tailwind
colors: {
custom: {
50: '#a180cf',
500: '#754cba',
950: '#000000',
},
}SCSS
$custom: #754cba; $custom-light: #a180cf; $custom-dark: #000000;
JSON
{
"hex": "#754cba",
"rgb": {
"r": 117,
"g": 76,
"b": 186
},
"hsl": {
"h": 262.364,
"s": 44.355,
"l": 51.373
},
"oklch": {
"l": 0.51744,
"c": 0.16668,
"h": 297.4
},
"luminance": 0.12496
}Semantic roles & 50–950 ramp
primary
#754CBA
secondary
#B7C999
accent
#D454A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82