#745CD8#745CD8
#745CD8 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.182 H 288.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #745CD8 |
|---|---|
| RGB | rgb(116, 92, 216) |
| HSL | hsl(252, 61%, 60%) |
| HSV | hsv(252, 57%, 85%) |
| CMYK | cmyk(46.3%, 57.4%, 0%, 15.3%) |
| CIE-LAB | lab(47.40, 40.20, -60.70) |
| CIE-LCH | lch(47.40, 72.80, 303.52°) |
| OKLab | oklab(56.33% 0.0563 -0.1733) |
| OKLCH | oklch(56.33% 0.182 288) |
| XYZ | xyz(23.4207, 16.3242, 66.8693) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.88
Slate Blue
#6A5ACD
ΔE00 2.44
Dark Periwinkle
#665FD1
ΔE00 2.99
Purpley
#8756E4
ΔE00 3.97
Iris
#6258C4
ΔE00 4.43
Mediumslateblue
#7B68EE
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745CD8 #C0D85C
analogous
#5C82D8 #745CD8 #B25CD8
triadic
#745CD8 #D8745C #5CD874
tetradic
#745CD8 #D85C82 #C0D85C #5CD8B2
square
#745CD8 #D85C82 #C0D85C #5CD8B2
split-complementary
#745CD8 #D8B25C #82D85C
monochromatic
#3A2496 #4D30C7 #745CD8 #9E8DE4 #C8BFF0
Accessibility & contrast
On white
4.92
#745CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#745CD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745CD8
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745CD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745CD8 | 1.00 | 4.92 | 4.26 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#547891
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #745cd8; /* rgb */ color: rgb(116, 92, 216); /* oklch */ color: oklch(56.3% 0.182 288.0);
Tailwind
colors: {
custom: {
50: '#a38be5',
500: '#745cd8',
950: '#000000',
},
}SCSS
$custom: #745cd8; $custom-light: #a38be5; $custom-dark: #000000;
JSON
{
"hex": "#745cd8",
"rgb": {
"r": 116,
"g": 92,
"b": 216
},
"hsl": {
"h": 251.613,
"s": 61.386,
"l": 60.392
},
"oklch": {
"l": 0.56325,
"c": 0.18218,
"h": 288
},
"luminance": 0.16325
}Semantic roles & 50–950 ramp
primary
#745CD8
secondary
#D6E0B0
accent
#C91CA8
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84