#745DCF#745DCF
#745DCF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.169 H 289.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #745DCF |
|---|---|
| RGB | rgb(116, 93, 207) |
| HSL | hsl(252, 54%, 59%) |
| HSV | hsv(252, 55%, 81%) |
| CMYK | cmyk(44%, 55.1%, 0%, 18.8%) |
| CIE-LAB | lab(47.03, 37.03, -56.14) |
| CIE-LCH | lch(47.03, 67.25, 303.41°) |
| OKLab | oklab(55.87% 0.0551 -0.1599) |
| OKLCH | oklch(55.87% 0.169 289) |
| XYZ | xyz(22.3761, 16.0459, 60.9376) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.55
Slate Blue
#6A5ACD
ΔE00 2.04
Dark Periwinkle
#665FD1
ΔE00 2.87
Iris
#6258C4
ΔE00 3.85
Purpley
#8756E4
ΔE00 4.72
Mediumslateblue
#7B68EE
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745DCF #B8CF5D
analogous
#5D7FCF #745DCF #AD5DCF
triadic
#745DCF #CF745D #5DCF74
tetradic
#745DCF #CF5D7F #B8CF5D #5DCFAD
square
#745DCF #CF5D7F #B8CF5D #5DCFAD
split-complementary
#745DCF #CFAD5D #7FCF5D
monochromatic
#3C2989 #5137B8 #745DCF #9D8CDD #C5BBEB
Accessibility & contrast
On white
4.99
#745DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#745DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745DCF
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745DCF | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F72D3
Deuteranopia (green-blind)
#226DCD
Tritanopia (blue-blind)
#59768D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #745dcf; /* rgb */ color: rgb(116, 93, 207); /* oklch */ color: oklch(55.9% 0.169 289.0);
Tailwind
colors: {
custom: {
50: '#a28bde',
500: '#745dcf',
950: '#000000',
},
}SCSS
$custom: #745dcf; $custom-light: #a28bde; $custom-dark: #000000;
JSON
{
"hex": "#745dcf",
"rgb": {
"r": 116,
"g": 93,
"b": 207
},
"hsl": {
"h": 252.105,
"s": 54.286,
"l": 58.824
},
"oklch": {
"l": 0.55869,
"c": 0.16909,
"h": 289
},
"luminance": 0.16047
}Semantic roles & 50–950 ramp
primary
#745DCF
secondary
#D1DAAD
accent
#DE4AC0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83