#745CDD#745CDD
#745CDD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.7% C 0.189 H 287.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #745CDD |
|---|---|
| RGB | rgb(116, 92, 221) |
| HSL | hsl(251, 65%, 61%) |
| HSV | hsv(251, 58%, 87%) |
| CMYK | cmyk(47.5%, 58.4%, 0%, 13.3%) |
| CIE-LAB | lab(47.73, 41.65, -62.99) |
| CIE-LCH | lch(47.73, 75.52, 303.47°) |
| OKLab | oklab(56.68% 0.0562 -0.18) |
| OKLCH | oklch(56.68% 0.189 287.3) |
| XYZ | xyz(24.0770, 16.5867, 70.3255) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.43
Slate Blue
#6A5ACD
ΔE00 2.95
Dark Periwinkle
#665FD1
ΔE00 3.23
Purpley
#8756E4
ΔE00 3.76
Mediumslateblue
#7B68EE
ΔE00 4.61
Iris
#6258C4
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745CDD #C5DD5C
analogous
#5C85DD #745CDD #B55CDD
triadic
#745CDD #DD745C #5CDD74
tetradic
#745CDD #DD5C85 #C5DD5C #5CDDB5
square
#745CDD #DD5C85 #C5DD5C #5CDDB5
split-complementary
#745CDD #DDB55C #85DD5C
monochromatic
#38219E #4A2BD0 #745CDD #9F8FE8 #CAC1F2
Accessibility & contrast
On white
4.86
#745CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#745CDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745CDD
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745CDD | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#517994
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #745cdd; /* rgb */ color: rgb(116, 92, 221); /* oklch */ color: oklch(56.7% 0.189 287.3);
Tailwind
colors: {
custom: {
50: '#a38be8',
500: '#745cdd',
950: '#000000',
},
}SCSS
$custom: #745cdd; $custom-light: #a38be8; $custom-dark: #000000;
JSON
{
"hex": "#745cdd",
"rgb": {
"r": 116,
"g": 92,
"b": 221
},
"hsl": {
"h": 251.163,
"s": 65.482,
"l": 61.373
},
"oklch": {
"l": 0.56681,
"c": 0.18859,
"h": 287.3
},
"luminance": 0.16588
}Semantic roles & 50–950 ramp
primary
#745CDD
secondary
#DAE3B2
accent
#CD18AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84