#754FC8#754FC8
#754FC8 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.180 H 293.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #754FC8 |
|---|---|
| RGB | rgb(117, 79, 200) |
| HSL | hsl(259, 52%, 55%) |
| HSV | hsv(259, 61%, 78%) |
| CMYK | cmyk(41.5%, 60.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.57, 43.35, -57.69) |
| CIE-LCH | lch(43.57, 72.16, 306.92°) |
| OKLab | oklab(53.2% 0.0728 -0.1644) |
| OKLCH | oklch(53.2% 0.18 293.9) |
| XYZ | xyz(20.5546, 13.5435, 56.1636) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.83
Slate Blue
#6A5ACD
ΔE00 4.08
Iris
#6258C4
ΔE00 4.69
Bluey Purple
#6241C7
ΔE00 4.84
Purpley
#8756E4
ΔE00 5.52
Royal Purple
#7851A9
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754FC8 #A2C84F
analogous
#4F66C8 #754FC8 #B24FC8
triadic
#754FC8 #C8754F #4FC875
tetradic
#754FC8 #C84F66 #A2C84F #4FC8B2
square
#754FC8 #C84F66 #A2C84F #4FC8B2
split-complementary
#754FC8 #C8B24F #66C84F
monochromatic
#3F2577 #5834A6 #754FC8 #9A7ED7 #BEACE5
Accessibility & contrast
On white
5.66
#754FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#754FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754FC8
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754FC8 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0365C5
Tritanopia (blue-blind)
#5F6A84
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #754fc8; /* rgb */ color: rgb(117, 79, 200); /* oklch */ color: oklch(53.2% 0.180 293.9);
Tailwind
colors: {
custom: {
50: '#a282d9',
500: '#754fc8',
950: '#000000',
},
}SCSS
$custom: #754fc8; $custom-light: #a282d9; $custom-dark: #000000;
JSON
{
"hex": "#754fc8",
"rgb": {
"r": 117,
"g": 79,
"b": 200
},
"hsl": {
"h": 258.843,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.53197,
"c": 0.17979,
"h": 293.9
},
"luminance": 0.13544
}Semantic roles & 50–950 ramp
primary
#754FC8
secondary
#C3D3A0
accent
#DC4CAF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83