#745BDF#745BDF
#745BDF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.192 H 287.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #745BDF |
|---|---|
| RGB | rgb(116, 91, 223) |
| HSL | hsl(251, 67%, 62%) |
| HSV | hsv(251, 59%, 87%) |
| CMYK | cmyk(48%, 59.2%, 0%, 12.5%) |
| CIE-LAB | lab(47.65, 42.80, -64.26) |
| CIE-LCH | lch(47.65, 77.21, 303.67°) |
| OKLab | oklab(56.66% 0.0572 -0.1838) |
| OKLCH | oklch(56.66% 0.192 287.3) |
| XYZ | xyz(24.2590, 16.5218, 71.7085) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.61
Slate Blue
#6A5ACD
ΔE00 3.12
Dark Periwinkle
#665FD1
ΔE00 3.47
Purpley
#8756E4
ΔE00 3.61
Mediumslateblue
#7B68EE
ΔE00 4.69
Iris
#6258C4
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745BDF #C6DF5B
analogous
#5B84DF #745BDF #B65BDF
triadic
#745BDF #DF745B #5BDF74
tetradic
#745BDF #DF5B84 #C6DF5B #5BDFB6
square
#745BDF #DF5B84 #C6DF5B #5BDFB6
split-complementary
#745BDF #DFB65B #84DF5B
monochromatic
#381FA0 #4A29D4 #745BDF #9F8EE9 #CBC1F3
Accessibility & contrast
On white
4.88
#745BDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#745BDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745BDF
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745BDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745BDF | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#507994
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #745bdf; /* rgb */ color: rgb(116, 91, 223); /* oklch */ color: oklch(56.7% 0.192 287.3);
Tailwind
colors: {
custom: {
50: '#a38aea',
500: '#745bdf',
950: '#000000',
},
}SCSS
$custom: #745bdf; $custom-light: #a38aea; $custom-dark: #000000;
JSON
{
"hex": "#745bdf",
"rgb": {
"r": 116,
"g": 91,
"b": 223
},
"hsl": {
"h": 251.364,
"s": 67.347,
"l": 61.569
},
"oklch": {
"l": 0.56663,
"c": 0.19246,
"h": 287.3
},
"luminance": 0.16523
}Semantic roles & 50–950 ramp
primary
#745BDF
secondary
#DAE3B2
accent
#CF16AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84