#745DDD#745DDD
#745DDD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.187 H 287.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #745DDD |
|---|---|
| RGB | rgb(116, 93, 221) |
| HSL | hsl(251, 65%, 62%) |
| HSV | hsv(251, 58%, 87%) |
| CMYK | cmyk(47.5%, 57.9%, 0%, 13.3%) |
| CIE-LAB | lab(47.96, 41.07, -62.63) |
| CIE-LCH | lch(47.96, 74.90, 303.25°) |
| OKLab | oklab(56.85% 0.0551 -0.179) |
| OKLCH | oklch(56.85% 0.187 287.1) |
| XYZ | xyz(24.1642, 16.7611, 70.3546) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.53
Slate Blue
#6A5ACD
ΔE00 3.02
Dark Periwinkle
#665FD1
ΔE00 3.15
Purpley
#8756E4
ΔE00 3.89
Mediumslateblue
#7B68EE
ΔE00 4.37
Iris
#6258C4
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745DDD #C6DD5D
analogous
#5D86DD #745DDD #B45DDD
triadic
#745DDD #DD745D #5DDD74
tetradic
#745DDD #DD5D86 #C6DD5D #5DDDB4
square
#745DDD #DD5D86 #C6DD5D #5DDDB4
split-complementary
#745DDD #DDB45D #86DD5D
monochromatic
#38219E #4A2CD1 #745DDD #9F90E8 #CBC2F2
Accessibility & contrast
On white
4.82
#745DDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#745DDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745DDD
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745DDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745DDD | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#517A94
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #745ddd; /* rgb */ color: rgb(116, 93, 221); /* oklch */ color: oklch(56.8% 0.187 287.1);
Tailwind
colors: {
custom: {
50: '#a38ce8',
500: '#745ddd',
950: '#000000',
},
}SCSS
$custom: #745ddd; $custom-light: #a38ce8; $custom-dark: #000000;
JSON
{
"hex": "#745ddd",
"rgb": {
"r": 116,
"g": 93,
"b": 221
},
"hsl": {
"h": 250.781,
"s": 65.306,
"l": 61.569
},
"oklch": {
"l": 0.56845,
"c": 0.18726,
"h": 287.1
},
"luminance": 0.16762
}Semantic roles & 50–950 ramp
primary
#745DDD
secondary
#DAE3B3
accent
#CD18AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84