#754CBB#754CBB
#754CBB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.168 H 297.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #754CBB |
|---|---|
| RGB | rgb(117, 76, 187) |
| HSL | hsl(262, 45%, 52%) |
| HSV | hsv(262, 59%, 73%) |
| CMYK | cmyk(37.4%, 59.4%, 0%, 26.7%) |
| CIE-LAB | lab(42.06, 41.52, -52.56) |
| CIE-LCH | lch(42.06, 66.99, 308.31°) |
| OKLab | oklab(51.81% 0.0768 -0.1493) |
| OKLCH | oklch(51.81% 0.168 297.2) |
| XYZ | xyz(18.8879, 12.5384, 48.4291) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.80
Bluey Purple
#6241C7
ΔE00 4.89
Light Indigo
#6D5ACF
ΔE00 5.60
Slate Blue
#6A5ACD
ΔE00 5.71
Iris
#6258C4
ΔE00 5.75
Bluish Purple
#703BE7
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754CBB #92BB4C
analogous
#4C5BBB #754CBB #AD4CBB
triadic
#754CBB #BB754C #4CBB75
tetradic
#754CBB #BB4C5B #92BB4C #4CBBAD
square
#754CBB #BB4C5B #92BB4C #4CBBAD
split-complementary
#754CBB #BBAD4C #5BBB4C
monochromatic
#3E2766 #593892 #754CBB #9778CC #B9A5DD
Accessibility & contrast
On white
5.99
#754CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#754CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754CBB
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754CBB | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0464BF
Deuteranopia (green-blind)
#2062B9
Tritanopia (blue-blind)
#65647C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #754cbb; /* rgb */ color: rgb(117, 76, 187); /* oklch */ color: oklch(51.8% 0.168 297.2);
Tailwind
colors: {
custom: {
50: '#a180d0',
500: '#754cbb',
950: '#000000',
},
}SCSS
$custom: #754cbb; $custom-light: #a180d0; $custom-dark: #000000;
JSON
{
"hex": "#754cbb",
"rgb": {
"r": 117,
"g": 76,
"b": 187
},
"hsl": {
"h": 262.162,
"s": 44.939,
"l": 51.569
},
"oklch": {
"l": 0.51814,
"c": 0.16792,
"h": 297.2
},
"luminance": 0.12539
}Semantic roles & 50–950 ramp
primary
#754CBB
secondary
#B8CA99
accent
#D553A5
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82