#745AEC#745AEC
#745AEC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.210 H 285.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #745AEC |
|---|---|
| RGB | rgb(116, 90, 236) |
| HSL | hsl(251, 79%, 64%) |
| HSV | hsv(251, 62%, 93%) |
| CMYK | cmyk(50.8%, 61.9%, 0%, 7.5%) |
| CIE-LAB | lab(48.36, 47.13, -70.45) |
| CIE-LCH | lch(48.36, 84.77, 303.78°) |
| OKLab | oklab(57.47% 0.0575 -0.202) |
| OKLCH | oklch(57.47% 0.21 285.9) |
| XYZ | xyz(25.9944, 17.0801, 81.2677) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.65
Mediumslateblue
#7B68EE
ΔE00 4.21
Light Indigo
#6D5ACF
ΔE00 4.22
Slate Blue
#6A5ACD
ΔE00 4.66
Dark Periwinkle
#665FD1
ΔE00 4.68
Iris
#6258C4
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745AEC #D2EC5A
analogous
#5A89EC #745AEC #BD5AEC
triadic
#745AEC #EC745A #5AEC74
tetradic
#745AEC #EC5A89 #D2EC5A #5AECBD
square
#745AEC #EC5A89 #D2EC5A #5AECBD
split-complementary
#745AEC #ECBD5A #89EC5A
monochromatic
#3215B7 #4623E6 #745AEC #A291F2 #D0C8F9
Accessibility & contrast
On white
4.76
#745AEC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#745AEC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745AEC
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745AEC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745AEC | 1.00 | 4.76 | 4.42 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#467D9B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #745aec; /* rgb */ color: rgb(116, 90, 236); /* oklch */ color: oklch(57.5% 0.210 285.9);
Tailwind
colors: {
custom: {
50: '#a58af3',
500: '#745aec',
950: '#000000',
},
}SCSS
$custom: #745aec; $custom-light: #a58af3; $custom-dark: #000000;
JSON
{
"hex": "#745aec",
"rgb": {
"r": 116,
"g": 90,
"b": 236
},
"hsl": {
"h": 250.685,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.57473,
"c": 0.20999,
"h": 285.9
},
"luminance": 0.17081
}Semantic roles & 50–950 ramp
primary
#745AEC
secondary
#E1EBB7
accent
#DC0AB6
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85