#754FCE#754FCE
#754FCE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.187 H 292.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #754FCE |
|---|---|
| RGB | rgb(117, 79, 206) |
| HSL | hsl(258, 56%, 56%) |
| HSV | hsv(258, 62%, 81%) |
| CMYK | cmyk(43.2%, 61.7%, 0%, 19.2%) |
| CIE-LAB | lab(43.99, 44.99, -60.48) |
| CIE-LCH | lch(43.99, 75.38, 306.65°) |
| OKLab | oklab(53.63% 0.0724 -0.1726) |
| OKLCH | oklch(53.63% 0.187 292.8) |
| XYZ | xyz(21.2696, 13.8295, 59.9293) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.56
Slate Blue
#6A5ACD
ΔE00 3.87
Iris
#6258C4
ΔE00 4.73
Bluey Purple
#6241C7
ΔE00 4.91
Purpley
#8756E4
ΔE00 4.93
Bluish Purple
#703BE7
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754FCE #A8CE4F
analogous
#4F68CE #754FCE #B44FCE
triadic
#754FCE #CE754F #4FCE75
tetradic
#754FCE #CE4F68 #A8CE4F #4FCEB4
square
#754FCE #CE4F68 #A8CE4F #4FCEB4
split-complementary
#754FCE #CEB44F #68CE4F
monochromatic
#3F237F #5731AF #754FCE #9B7FDB #C0AFE9
Accessibility & contrast
On white
5.58
#754FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#754FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754FCE
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754FCE | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#5C6C87
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #754fce; /* rgb */ color: rgb(117, 79, 206); /* oklch */ color: oklch(53.6% 0.187 292.8);
Tailwind
colors: {
custom: {
50: '#a382de',
500: '#754fce',
950: '#000000',
},
}SCSS
$custom: #754fce; $custom-light: #a382de; $custom-dark: #000000;
JSON
{
"hex": "#754fce",
"rgb": {
"r": 117,
"g": 79,
"b": 206
},
"hsl": {
"h": 257.953,
"s": 56.444,
"l": 55.882
},
"oklch": {
"l": 0.53633,
"c": 0.18719,
"h": 292.8
},
"luminance": 0.1383
}Semantic roles & 50–950 ramp
primary
#754FCE
secondary
#C7D7A2
accent
#E048B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83