#745CD7#745CD7
#745CD7 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.181 H 288.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #745CD7 |
|---|---|
| RGB | rgb(116, 92, 215) |
| HSL | hsl(252, 61%, 60%) |
| HSV | hsv(252, 57%, 84%) |
| CMYK | cmyk(46%, 57.2%, 0%, 15.7%) |
| CIE-LAB | lab(47.33, 39.91, -60.23) |
| CIE-LCH | lch(47.33, 72.26, 303.53°) |
| OKLab | oklab(56.25% 0.0563 -0.1719) |
| OKLCH | oklch(56.25% 0.181 288.1) |
| XYZ | xyz(23.2918, 16.2727, 66.1905) |
| Luminance | 0.1627 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.79
Slate Blue
#6A5ACD
ΔE00 2.35
Dark Periwinkle
#665FD1
ΔE00 2.95
Purpley
#8756E4
ΔE00 4.02
Iris
#6258C4
ΔE00 4.34
Mediumslateblue
#7B68EE
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745CD7 #BFD75C
analogous
#5C82D7 #745CD7 #B15CD7
triadic
#745CD7 #D7745C #5CD774
tetradic
#745CD7 #D75C82 #BFD75C #5CD7B1
square
#745CD7 #D75C82 #BFD75C #5CD7B1
split-complementary
#745CD7 #D7B15C #82D75C
monochromatic
#3A2494 #4D30C5 #745CD7 #9E8DE3 #C8BEEF
Accessibility & contrast
On white
4.94
#745CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#745CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745CD7
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745CD7 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#046DD4
Tritanopia (blue-blind)
#547891
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #745cd7; /* rgb */ color: rgb(116, 92, 215); /* oklch */ color: oklch(56.3% 0.181 288.1);
Tailwind
colors: {
custom: {
50: '#a28be4',
500: '#745cd7',
950: '#000000',
},
}SCSS
$custom: #745cd7; $custom-light: #a28be4; $custom-dark: #000000;
JSON
{
"hex": "#745cd7",
"rgb": {
"r": 116,
"g": 92,
"b": 215
},
"hsl": {
"h": 251.707,
"s": 60.591,
"l": 60.196
},
"oklch": {
"l": 0.56254,
"c": 0.18089,
"h": 288.1
},
"luminance": 0.16274
}Semantic roles & 50–950 ramp
primary
#745CD7
secondary
#D6DFB0
accent
#C81DA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84