#745FC6#745FC6
#745FC6 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.6% C 0.154 H 289.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #745FC6 |
|---|---|
| RGB | rgb(116, 95, 198) |
| HSL | hsl(252, 47%, 57%) |
| HSV | hsv(252, 52%, 78%) |
| CMYK | cmyk(41.4%, 52%, 0%, 22.4%) |
| CIE-LAB | lab(46.94, 33.29, -51.12) |
| CIE-LCH | lch(46.94, 61.00, 303.07°) |
| OKLab | oklab(55.62% 0.0523 -0.1451) |
| OKLCH | oklch(55.62% 0.154 289.8) |
| XYZ | xyz(21.4849, 15.9740, 55.3664) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.51
Slate Blue
#6A5ACD
ΔE00 2.71
Dark Periwinkle
#665FD1
ΔE00 3.39
Iris
#6258C4
ΔE00 3.91
Purpley
#8756E4
ΔE00 5.86
Mediumslateblue
#7B68EE
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745FC6 #B1C65F
analogous
#5F7EC6 #745FC6 #A75FC6
triadic
#745FC6 #C6745F #5FC674
tetradic
#745FC6 #C65F7E #B1C65F #5FC6A7
square
#745FC6 #C65F7E #B1C65F #5FC6A7
split-complementary
#745FC6 #C6A75F #7EC65F
monochromatic
#3D2D7E #533DAB #745FC6 #9B8CD6 #C2B9E6
Accessibility & contrast
On white
5.01
#745FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#745FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745FC6
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745FC6 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3271CA
Deuteranopia (green-blind)
#346DC4
Tritanopia (blue-blind)
#5D7489
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #745fc6; /* rgb */ color: rgb(116, 95, 198); /* oklch */ color: oklch(55.6% 0.154 289.8);
Tailwind
colors: {
custom: {
50: '#a08dd8',
500: '#745fc6',
950: '#000000',
},
}SCSS
$custom: #745fc6; $custom-light: #a08dd8; $custom-dark: #000000;
JSON
{
"hex": "#745fc6",
"rgb": {
"r": 116,
"g": 95,
"b": 198
},
"hsl": {
"h": 252.233,
"s": 47.465,
"l": 57.451
},
"oklch": {
"l": 0.55619,
"c": 0.15424,
"h": 289.8
},
"luminance": 0.15975
}Semantic roles & 50–950 ramp
primary
#745FC6
secondary
#CDD5AC
accent
#D751BC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83