#745DDC#745DDC
#745DDC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.8% C 0.186 H 287.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #745DDC |
|---|---|
| RGB | rgb(116, 93, 220) |
| HSL | hsl(251, 64%, 61%) |
| HSV | hsv(251, 58%, 86%) |
| CMYK | cmyk(47.3%, 57.7%, 0%, 13.7%) |
| CIE-LAB | lab(47.89, 40.78, -62.17) |
| CIE-LCH | lch(47.89, 74.35, 303.26°) |
| OKLab | oklab(56.77% 0.0551 -0.1776) |
| OKLCH | oklch(56.77% 0.186 287.2) |
| XYZ | xyz(24.0313, 16.7080, 69.6550) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.41
Slate Blue
#6A5ACD
ΔE00 2.92
Dark Periwinkle
#665FD1
ΔE00 3.09
Purpley
#8756E4
ΔE00 3.92
Mediumslateblue
#7B68EE
ΔE00 4.46
Iris
#6258C4
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745DDC #C5DC5D
analogous
#5D86DC #745DDC #B45DDC
triadic
#745DDC #DC745D #5DDC74
tetradic
#745DDC #DC5D86 #C5DC5D #5DDCB4
square
#745DDC #DC5D86 #C5DC5D #5DDCB4
split-complementary
#745DDC #DCB45D #86DC5D
monochromatic
#38229D #4A2DCF #745DDC #9F8FE7 #CAC2F2
Accessibility & contrast
On white
4.84
#745DDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#745DDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745DDC
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745DDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745DDC | 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)
#0075E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#517A94
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #745ddc; /* rgb */ color: rgb(116, 93, 220); /* oklch */ color: oklch(56.8% 0.186 287.2);
Tailwind
colors: {
custom: {
50: '#a38ce8',
500: '#745ddc',
950: '#000000',
},
}SCSS
$custom: #745ddc; $custom-light: #a38ce8; $custom-dark: #000000;
JSON
{
"hex": "#745ddc",
"rgb": {
"r": 116,
"g": 93,
"b": 220
},
"hsl": {
"h": 250.866,
"s": 64.467,
"l": 61.373
},
"oklch": {
"l": 0.56773,
"c": 0.18597,
"h": 287.2
},
"luminance": 0.16709
}Semantic roles & 50–950 ramp
primary
#745DDC
secondary
#DAE2B3
accent
#CC19AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84