#745BE2#745BE2
#745BE2 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.9% C 0.196 H 286.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #745BE2 |
|---|---|
| RGB | rgb(116, 91, 226) |
| HSL | hsl(251, 70%, 62%) |
| HSV | hsv(251, 60%, 89%) |
| CMYK | cmyk(48.7%, 59.7%, 0%, 11.4%) |
| CIE-LAB | lab(47.86, 43.67, -65.62) |
| CIE-LCH | lch(47.86, 78.83, 303.64°) |
| OKLab | oklab(56.88% 0.0571 -0.1878) |
| OKLCH | oklch(56.88% 0.196 286.9) |
| XYZ | xyz(24.6670, 16.6850, 73.8576) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.98
Slate Blue
#6A5ACD
ΔE00 3.47
Purpley
#8756E4
ΔE00 3.57
Dark Periwinkle
#665FD1
ΔE00 3.69
Mediumslateblue
#7B68EE
ΔE00 4.47
Iris
#6258C4
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745BE2 #C9E25B
analogous
#5B86E2 #745BE2 #B75BE2
triadic
#745BE2 #E2745B #5BE274
tetradic
#745BE2 #E25B86 #C9E25B #5BE2B7
square
#745BE2 #E25B86 #C9E25B #5BE2B7
split-complementary
#745BE2 #E2B75B #86E25B
monochromatic
#361DA5 #4827D9 #745BE2 #A08FEB #CCC3F4
Accessibility & contrast
On white
4.84
#745BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#745BE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745BE2
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745BE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745BE2 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#4E7A96
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #745be2; /* rgb */ color: rgb(116, 91, 226); /* oklch */ color: oklch(56.9% 0.196 286.9);
Tailwind
colors: {
custom: {
50: '#a48aec',
500: '#745be2',
950: '#000000',
},
}SCSS
$custom: #745be2; $custom-light: #a48aec; $custom-dark: #000000;
JSON
{
"hex": "#745be2",
"rgb": {
"r": 116,
"g": 91,
"b": 226
},
"hsl": {
"h": 251.111,
"s": 69.948,
"l": 62.157
},
"oklch": {
"l": 0.56883,
"c": 0.19625,
"h": 286.9
},
"luminance": 0.16686
}Semantic roles & 50–950 ramp
primary
#745BE2
secondary
#DCE5B4
accent
#D214AF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84