#745AC8#745AC8
#745AC8 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.9% C 0.164 H 290.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #745AC8 |
|---|---|
| RGB | rgb(116, 90, 200) |
| HSL | hsl(254, 50%, 57%) |
| HSV | hsv(254, 55%, 78%) |
| CMYK | cmyk(42%, 55%, 0%, 21.6%) |
| CIE-LAB | lab(45.90, 36.80, -53.94) |
| CIE-LCH | lch(45.90, 65.30, 304.31°) |
| OKLab | oklab(54.89% 0.0585 -0.1534) |
| OKLCH | oklch(54.89% 0.164 290.9) |
| XYZ | xyz(21.2811, 15.1948, 56.4440) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.84
Slate Blue
#6A5ACD
ΔE00 2.18
Iris
#6258C4
ΔE00 3.49
Dark Periwinkle
#665FD1
ΔE00 3.69
Purpley
#8756E4
ΔE00 5.19
Royal Purple
#7851A9
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745AC8 #AEC85A
analogous
#5A77C8 #745AC8 #AB5AC8
triadic
#745AC8 #C8745A #5AC874
tetradic
#745AC8 #C85A77 #AEC85A #5AC8AB
square
#745AC8 #C85A77 #AEC85A #5AC8AB
split-complementary
#745AC8 #C8AB5A #77C85A
monochromatic
#3E2A7E #5439AC #745AC8 #9B88D7 #C1B6E7
Accessibility & contrast
On white
5.20
#745AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#745AC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745AC8
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745AC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745AC8 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#276AC6
Tritanopia (blue-blind)
#5C7288
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #745ac8; /* rgb */ color: rgb(116, 90, 200); /* oklch */ color: oklch(54.9% 0.164 290.9);
Tailwind
colors: {
custom: {
50: '#a189d9',
500: '#745ac8',
950: '#000000',
},
}SCSS
$custom: #745ac8; $custom-light: #a189d9; $custom-dark: #000000;
JSON
{
"hex": "#745ac8",
"rgb": {
"r": 116,
"g": 90,
"b": 200
},
"hsl": {
"h": 254.182,
"s": 50,
"l": 56.863
},
"oklch": {
"l": 0.54886,
"c": 0.16418,
"h": 290.9
},
"luminance": 0.15195
}Semantic roles & 50–950 ramp
primary
#745AC8
secondary
#CBD5A8
accent
#DA4EB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83