#745BDB#745BDB
#745BDB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.187 H 287.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #745BDB |
|---|---|
| RGB | rgb(116, 91, 219) |
| HSL | hsl(252, 64%, 61%) |
| HSV | hsv(252, 58%, 86%) |
| CMYK | cmyk(47%, 58.4%, 0%, 14.1%) |
| CIE-LAB | lab(47.38, 41.65, -62.44) |
| CIE-LCH | lch(47.38, 75.05, 303.70°) |
| OKLab | oklab(56.37% 0.0574 -0.1784) |
| OKLCH | oklch(56.37% 0.187 287.8) |
| XYZ | xyz(23.7260, 16.3087, 68.9018) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.13
Slate Blue
#6A5ACD
ΔE00 2.69
Dark Periwinkle
#665FD1
ΔE00 3.23
Purpley
#8756E4
ΔE00 3.73
Iris
#6258C4
ΔE00 4.65
Mediumslateblue
#7B68EE
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745BDB #C2DB5B
analogous
#5B82DB #745BDB #B45BDB
triadic
#745BDB #DB745B #5BDB74
tetradic
#745BDB #DB5B82 #C2DB5B #5BDBB4
square
#745BDB #DB5B82 #C2DB5B #5BDBB4
split-complementary
#745BDB #DBB45B #82DB5B
monochromatic
#39229A #4C2DCC #745BDB #9F8DE6 #C9BFF1
Accessibility & contrast
On white
4.93
#745BDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#745BDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745BDB
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745BDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745BDB | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#527892
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #745bdb; /* rgb */ color: rgb(116, 91, 219); /* oklch */ color: oklch(56.4% 0.187 287.8);
Tailwind
colors: {
custom: {
50: '#a38ae7',
500: '#745bdb',
950: '#000000',
},
}SCSS
$custom: #745bdb; $custom-light: #a38ae7; $custom-dark: #000000;
JSON
{
"hex": "#745bdb",
"rgb": {
"r": 116,
"g": 91,
"b": 219
},
"hsl": {
"h": 251.719,
"s": 64,
"l": 60.784
},
"oklch": {
"l": 0.56374,
"c": 0.18737,
"h": 287.8
},
"luminance": 0.1631
}Semantic roles & 50–950 ramp
primary
#745BDB
secondary
#D8E1B1
accent
#CC1AA9
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84