#745BDE#745BDE
#745BDE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.6% C 0.191 H 287.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #745BDE |
|---|---|
| RGB | rgb(116, 91, 222) |
| HSL | hsl(251, 66%, 61%) |
| HSV | hsv(251, 59%, 87%) |
| CMYK | cmyk(47.7%, 59%, 0%, 12.9%) |
| CIE-LAB | lab(47.58, 42.51, -63.81) |
| CIE-LCH | lch(47.58, 76.67, 303.67°) |
| OKLab | oklab(56.59% 0.0573 -0.1824) |
| OKLCH | oklch(56.59% 0.191 287.4) |
| XYZ | xyz(24.1245, 16.4680, 71.0006) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.49
Slate Blue
#6A5ACD
ΔE00 3.01
Dark Periwinkle
#665FD1
ΔE00 3.40
Purpley
#8756E4
ΔE00 3.63
Mediumslateblue
#7B68EE
ΔE00 4.77
Iris
#6258C4
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745BDE #C5DE5B
analogous
#5B84DE #745BDE #B55BDE
triadic
#745BDE #DE745B #5BDE74
tetradic
#745BDE #DE5B84 #C5DE5B #5BDEB5
square
#745BDE #DE5B84 #C5DE5B #5BDEB5
split-complementary
#745BDE #DEB55B #84DE5B
monochromatic
#38209F #4A2AD2 #745BDE #9F8EE8 #CAC1F3
Accessibility & contrast
On white
4.89
#745BDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#745BDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745BDE
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745BDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745BDE | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#507994
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #745bde; /* rgb */ color: rgb(116, 91, 222); /* oklch */ color: oklch(56.6% 0.191 287.4);
Tailwind
colors: {
custom: {
50: '#a38ae9',
500: '#745bde',
950: '#000000',
},
}SCSS
$custom: #745bde; $custom-light: #a38ae9; $custom-dark: #000000;
JSON
{
"hex": "#745bde",
"rgb": {
"r": 116,
"g": 91,
"b": 222
},
"hsl": {
"h": 251.45,
"s": 66.497,
"l": 61.373
},
"oklch": {
"l": 0.56591,
"c": 0.1912,
"h": 287.4
},
"luminance": 0.16469
}Semantic roles & 50–950 ramp
primary
#745BDE
secondary
#DAE3B2
accent
#CE17AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84