#5A4ACF#5A4ACF
#5A4ACF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.5% C 0.196 H 282.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4ACF |
|---|---|
| RGB | rgb(90, 74, 207) |
| HSL | hsl(247, 58%, 55%) |
| HSV | hsv(247, 64%, 81%) |
| CMYK | cmyk(56.5%, 64.3%, 0%, 18.8%) |
| CIE-LAB | lab(40.53, 43.05, -66.78) |
| CIE-LCH | lch(40.53, 79.45, 302.81°) |
| OKLab | oklab(50.55% 0.0416 -0.192) |
| OKLCH | oklch(50.55% 0.196 282.2) |
| XYZ | xyz(17.9242, 11.5751, 60.3091) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.02
Blue With A Hint Of Purple
#533CC6
ΔE00 3.95
Blurple
#5539CC
ΔE00 4.30
Iris
#6258C4
ΔE00 4.40
Ocean Blue
#4F42B5
ΔE00 4.54
Purpleish Blue
#6140EF
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4ACF #BFCF4A
analogous
#4A7CCF #5A4ACF #9C4ACF
triadic
#5A4ACF #CF5A4A #4ACF5A
tetradic
#5A4ACF #CF4A7C #BFCF4A #4ACF9C
square
#5A4ACF #CF4A7C #BFCF4A #4ACF9C
split-complementary
#5A4ACF #CF9C4A #7CCF4A
monochromatic
#2C217D #3D2EAE #5A4ACF #867ADC #B2ABE9
Accessibility & contrast
On white
6.33
#5A4ACF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#5A4ACF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4ACF
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4ACF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4ACF | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#1C6B86
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5a4acf; /* rgb */ color: rgb(90, 74, 207); /* oklch */ color: oklch(50.5% 0.196 282.2);
Tailwind
colors: {
custom: {
50: '#947ddf',
500: '#5a4acf',
950: '#000000',
},
}SCSS
$custom: #5a4acf; $custom-light: #947ddf; $custom-dark: #000000;
JSON
{
"hex": "#5a4acf",
"rgb": {
"r": 90,
"g": 74,
"b": 207
},
"hsl": {
"h": 247.218,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.50549,
"c": 0.19645,
"h": 282.2
},
"luminance": 0.11576
}Semantic roles & 50–950 ramp
primary
#5A4ACF
secondary
#D0D69F
accent
#E146CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83