#745DC7#745DC7
#745DC7 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.3% C 0.159 H 290.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #745DC7 |
|---|---|
| RGB | rgb(116, 93, 199) |
| HSL | hsl(253, 49%, 57%) |
| HSV | hsv(253, 53%, 78%) |
| CMYK | cmyk(41.7%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(46.53, 34.76, -52.35) |
| CIE-LCH | lch(46.53, 62.84, 303.58°) |
| OKLab | oklab(55.33% 0.0548 -0.1487) |
| OKLCH | oklch(55.33% 0.159 290.2) |
| XYZ | xyz(21.4228, 15.6645, 55.9166) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.10
Slate Blue
#6A5ACD
ΔE00 2.37
Dark Periwinkle
#665FD1
ΔE00 3.41
Iris
#6258C4
ΔE00 3.66
Purpley
#8756E4
ΔE00 5.52
Royal Purple
#7851A9
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745DC7 #B0C75D
analogous
#5D7BC7 #745DC7 #A95DC7
triadic
#745DC7 #C7745D #5DC774
tetradic
#745DC7 #C75D7B #B0C75D #5DC7A9
square
#745DC7 #C75D7B #B0C75D #5DC7A9
split-complementary
#745DC7 #C7A95D #7BC75D
monochromatic
#3D2C7E #543BAC #745DC7 #9B8AD7 #C2B8E6
Accessibility & contrast
On white
5.08
#745DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#745DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745DC7
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745DC7 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C70CB
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#5D7389
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #745dc7; /* rgb */ color: rgb(116, 93, 199); /* oklch */ color: oklch(55.3% 0.159 290.2);
Tailwind
colors: {
custom: {
50: '#a18bd9',
500: '#745dc7',
950: '#000000',
},
}SCSS
$custom: #745dc7; $custom-light: #a18bd9; $custom-dark: #000000;
JSON
{
"hex": "#745dc7",
"rgb": {
"r": 116,
"g": 93,
"b": 199
},
"hsl": {
"h": 253.019,
"s": 48.624,
"l": 57.255
},
"oklch": {
"l": 0.55334,
"c": 0.15851,
"h": 290.2
},
"luminance": 0.15665
}Semantic roles & 50–950 ramp
primary
#745DC7
secondary
#CCD5AA
accent
#D850BB
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C15
muted
#7F7D83