#745DCD#745DCD
#745DCD is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.166 H 289.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #745DCD |
|---|---|
| RGB | rgb(116, 93, 205) |
| HSL | hsl(252, 53%, 58%) |
| HSV | hsv(252, 55%, 80%) |
| CMYK | cmyk(43.4%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(46.91, 36.46, -55.20) |
| CIE-LCH | lch(46.91, 66.15, 303.45°) |
| OKLab | oklab(55.73% 0.0551 -0.1571) |
| OKLCH | oklch(55.73% 0.166 289.3) |
| XYZ | xyz(22.1332, 15.9487, 59.6580) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.61
Slate Blue
#6A5ACD
ΔE00 2.05
Dark Periwinkle
#665FD1
ΔE00 2.96
Iris
#6258C4
ΔE00 3.76
Purpley
#8756E4
ΔE00 4.90
Mediumslateblue
#7B68EE
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745DCD #B6CD5D
analogous
#5D7ECD #745DCD #AC5DCD
triadic
#745DCD #CD745D #5DCD74
tetradic
#745DCD #CD5D7E #B6CD5D #5DCDAC
square
#745DCD #CD5D7E #B6CD5D #5DCDAC
split-complementary
#745DCD #CDAC5D #7ECD5D
monochromatic
#3C2986 #5238B5 #745DCD #9C8CDB #C4BBEA
Accessibility & contrast
On white
5.01
#745DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#745DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745DCD
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745DCD | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2371D1
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#5A758C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #745dcd; /* rgb */ color: rgb(116, 93, 205); /* oklch */ color: oklch(55.7% 0.166 289.3);
Tailwind
colors: {
custom: {
50: '#a18bdd',
500: '#745dcd',
950: '#000000',
},
}SCSS
$custom: #745dcd; $custom-light: #a18bdd; $custom-dark: #000000;
JSON
{
"hex": "#745dcd",
"rgb": {
"r": 116,
"g": 93,
"b": 205
},
"hsl": {
"h": 252.321,
"s": 52.83,
"l": 58.431
},
"oklch": {
"l": 0.55734,
"c": 0.16646,
"h": 289.3
},
"luminance": 0.15949
}Semantic roles & 50–950 ramp
primary
#745DCD
secondary
#D0D9AD
accent
#DC4CBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83