#745DC2#745DC2
#745DC2 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.152 H 291.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #745DC2 |
|---|---|
| RGB | rgb(116, 93, 194) |
| HSL | hsl(254, 45%, 56%) |
| HSV | hsv(254, 52%, 76%) |
| CMYK | cmyk(40.2%, 52.1%, 0%, 23.9%) |
| CIE-LAB | lab(46.23, 33.34, -49.95) |
| CIE-LCH | lch(46.23, 60.06, 303.72°) |
| OKLab | oklab(55.01% 0.0546 -0.1417) |
| OKLCH | oklch(55.01% 0.152 291.1) |
| XYZ | xyz(20.8518, 15.4361, 52.9093) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.74
Slate Blue
#6A5ACD
ΔE00 2.90
Iris
#6258C4
ΔE00 3.80
Dark Periwinkle
#665FD1
ΔE00 3.96
Royal Purple
#7851A9
ΔE00 5.94
Purpley
#8756E4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745DC2 #ABC25D
analogous
#5D79C2 #745DC2 #A75DC2
triadic
#745DC2 #C2745D #5DC274
tetradic
#745DC2 #C25D79 #ABC25D #5DC2A7
square
#745DC2 #C25D79 #ABC25D #5DC2A7
split-complementary
#745DC2 #C2A75D #79C25D
monochromatic
#3E2D78 #553EA4 #745DC2 #9A89D3 #C0B6E3
Accessibility & contrast
On white
5.14
#745DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#745DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745DC2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745DC2 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316FC6
Deuteranopia (green-blind)
#356BC0
Tritanopia (blue-blind)
#5F7287
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #745dc2; /* rgb */ color: rgb(116, 93, 194); /* oklch */ color: oklch(55.0% 0.152 291.1);
Tailwind
colors: {
custom: {
50: '#a08bd5',
500: '#745dc2',
950: '#000000',
},
}SCSS
$custom: #745dc2; $custom-light: #a08bd5; $custom-dark: #000000;
JSON
{
"hex": "#745dc2",
"rgb": {
"r": 116,
"g": 93,
"b": 194
},
"hsl": {
"h": 253.663,
"s": 45.291,
"l": 56.275
},
"oklch": {
"l": 0.55009,
"c": 0.15182,
"h": 291.1
},
"luminance": 0.15437
}Semantic roles & 50–950 ramp
primary
#745DC2
secondary
#C9D2A9
accent
#D553B7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83