#745BDC#745BDC
#745BDC is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.4% C 0.189 H 287.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #745BDC |
|---|---|
| RGB | rgb(116, 91, 220) |
| HSL | hsl(252, 65%, 61%) |
| HSV | hsv(252, 59%, 86%) |
| CMYK | cmyk(47.3%, 58.6%, 0%, 13.7%) |
| CIE-LAB | lab(47.45, 41.93, -62.89) |
| CIE-LCH | lch(47.45, 75.59, 303.69°) |
| OKLab | oklab(56.45% 0.0573 -0.1797) |
| OKLCH | oklch(56.45% 0.189 287.7) |
| XYZ | xyz(23.8581, 16.3615, 69.5973) |
| Luminance | 0.1636 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.25
Slate Blue
#6A5ACD
ΔE00 2.79
Dark Periwinkle
#665FD1
ΔE00 3.28
Purpley
#8756E4
ΔE00 3.69
Iris
#6258C4
ΔE00 4.75
Mediumslateblue
#7B68EE
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745BDC #C3DC5B
analogous
#5B82DC #745BDC #B45BDC
triadic
#745BDC #DC745B #5BDC74
tetradic
#745BDC #DC5B82 #C3DC5B #5BDCB4
square
#745BDC #DC5B82 #C3DC5B #5BDCB4
split-complementary
#745BDC #DCB45B #82DC5B
monochromatic
#39219B #4B2CCE #745BDC #9F8DE7 #C9C0F2
Accessibility & contrast
On white
4.92
#745BDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#745BDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745BDC
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745BDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745BDC | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#517893
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #745bdc; /* rgb */ color: rgb(116, 91, 220); /* oklch */ color: oklch(56.4% 0.189 287.7);
Tailwind
colors: {
custom: {
50: '#a38ae8',
500: '#745bdc',
950: '#000000',
},
}SCSS
$custom: #745bdc; $custom-light: #a38ae8; $custom-dark: #000000;
JSON
{
"hex": "#745bdc",
"rgb": {
"r": 116,
"g": 91,
"b": 220
},
"hsl": {
"h": 251.628,
"s": 64.824,
"l": 60.98
},
"oklch": {
"l": 0.56446,
"c": 0.18865,
"h": 287.7
},
"luminance": 0.16362
}Semantic roles & 50–950 ramp
primary
#745BDC
secondary
#D8E2B1
accent
#CD19AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84