#745EE2#745EE2
#745EE2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.192 H 286.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #745EE2 |
|---|---|
| RGB | rgb(116, 94, 226) |
| HSL | hsl(250, 69%, 63%) |
| HSV | hsv(250, 58%, 89%) |
| CMYK | cmyk(48.7%, 58.4%, 0%, 11.4%) |
| CIE-LAB | lab(48.52, 41.94, -64.55) |
| CIE-LCH | lch(48.52, 76.98, 303.01°) |
| OKLab | oklab(57.37% 0.0539 -0.1846) |
| OKLCH | oklch(57.37% 0.192 286.3) |
| XYZ | xyz(24.9286, 17.2082, 73.9448) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.24
Dark Periwinkle
#665FD1
ΔE00 3.50
Slate Blue
#6A5ACD
ΔE00 3.69
Mediumslateblue
#7B68EE
ΔE00 3.71
Purpley
#8756E4
ΔE00 3.96
Iris
#6258C4
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745EE2 #CCE25E
analogous
#5E8AE2 #745EE2 #B65EE2
triadic
#745EE2 #E2745E #5EE274
tetradic
#745EE2 #E25E8A #CCE25E #5EE2B6
square
#745EE2 #E25E8A #CCE25E #5EE2B6
split-complementary
#745EE2 #E2B65E #8AE25E
monochromatic
#351EA7 #472AD9 #745EE2 #A192EB #CEC6F5
Accessibility & contrast
On white
4.73
#745EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#745EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745EE2
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745EE2 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#4D7C97
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #745ee2; /* rgb */ color: rgb(116, 94, 226); /* oklch */ color: oklch(57.4% 0.192 286.3);
Tailwind
colors: {
custom: {
50: '#a48cec',
500: '#745ee2',
950: '#000000',
},
}SCSS
$custom: #745ee2; $custom-light: #a48cec; $custom-dark: #000000;
JSON
{
"hex": "#745ee2",
"rgb": {
"r": 116,
"g": 94,
"b": 226
},
"hsl": {
"h": 250,
"s": 69.474,
"l": 62.745
},
"oklch": {
"l": 0.57367,
"c": 0.19232,
"h": 286.3
},
"luminance": 0.17209
}Semantic roles & 50–950 ramp
primary
#745EE2
secondary
#DEE6B6
accent
#D114B2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84