#745CDC#745CDC
#745CDC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.6% C 0.187 H 287.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #745CDC |
|---|---|
| RGB | rgb(116, 92, 220) |
| HSL | hsl(251, 65%, 61%) |
| HSV | hsv(251, 58%, 86%) |
| CMYK | cmyk(47.3%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(47.67, 41.36, -62.54) |
| CIE-LCH | lch(47.67, 74.97, 303.48°) |
| OKLab | oklab(56.61% 0.0562 -0.1787) |
| OKLCH | oklch(56.61% 0.187 287.5) |
| XYZ | xyz(23.9441, 16.5336, 69.6259) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.31
Slate Blue
#6A5ACD
ΔE00 2.84
Dark Periwinkle
#665FD1
ΔE00 3.17
Purpley
#8756E4
ΔE00 3.80
Mediumslateblue
#7B68EE
ΔE00 4.69
Iris
#6258C4
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745CDC #C4DC5C
analogous
#5C84DC #745CDC #B45CDC
triadic
#745CDC #DC745C #5CDC74
tetradic
#745CDC #DC5C84 #C4DC5C #5CDCB4
square
#745CDC #DC5C84 #C4DC5C #5CDCB4
split-complementary
#745CDC #DCB45C #84DC5C
monochromatic
#38229C #4B2CCE #745CDC #9F8EE7 #CAC1F2
Accessibility & contrast
On white
4.88
#745CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#745CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745CDC
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745CDC | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#517993
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #745cdc; /* rgb */ color: rgb(116, 92, 220); /* oklch */ color: oklch(56.6% 0.187 287.5);
Tailwind
colors: {
custom: {
50: '#a38be8',
500: '#745cdc',
950: '#000000',
},
}SCSS
$custom: #745cdc; $custom-light: #a38be8; $custom-dark: #000000;
JSON
{
"hex": "#745cdc",
"rgb": {
"r": 116,
"g": 92,
"b": 220
},
"hsl": {
"h": 251.25,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.56609,
"c": 0.18731,
"h": 287.5
},
"luminance": 0.16535
}Semantic roles & 50–950 ramp
primary
#745CDC
secondary
#D9E2B2
accent
#CC19AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84