#745FC2#745FC2
#745FC2 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.4% C 0.149 H 290.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #745FC2 |
|---|---|
| RGB | rgb(116, 95, 194) |
| HSL | hsl(253, 45%, 57%) |
| HSV | hsv(253, 51%, 76%) |
| CMYK | cmyk(40.2%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(46.70, 32.15, -49.19) |
| CIE-LCH | lch(46.70, 58.77, 303.17°) |
| OKLab | oklab(55.36% 0.052 -0.1394) |
| OKLCH | oklch(55.36% 0.149 290.5) |
| XYZ | xyz(21.0296, 15.7918, 52.9686) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.99
Slate Blue
#6A5ACD
ΔE00 3.12
Dark Periwinkle
#665FD1
ΔE00 3.86
Iris
#6258C4
ΔE00 4.03
Purpley
#8756E4
ΔE00 6.33
Royal Purple
#7851A9
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745FC2 #ADC25F
analogous
#5F7CC2 #745FC2 #A65FC2
triadic
#745FC2 #C2745F #5FC274
tetradic
#745FC2 #C25F7C #ADC25F #5FC2A6
square
#745FC2 #C25F7C #ADC25F #5FC2A6
split-complementary
#745FC2 #C2A65F #7CC25F
monochromatic
#3E2E79 #553FA5 #745FC2 #9A8BD3 #C1B8E4
Accessibility & contrast
On white
5.05
#745FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#745FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745FC2
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745FC2 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3670C5
Deuteranopia (green-blind)
#386DC0
Tritanopia (blue-blind)
#5F7387
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #745fc2; /* rgb */ color: rgb(116, 95, 194); /* oklch */ color: oklch(55.4% 0.149 290.5);
Tailwind
colors: {
custom: {
50: '#a08dd5',
500: '#745fc2',
950: '#000000',
},
}SCSS
$custom: #745fc2; $custom-light: #a08dd5; $custom-dark: #000000;
JSON
{
"hex": "#745fc2",
"rgb": {
"r": 116,
"g": 95,
"b": 194
},
"hsl": {
"h": 252.727,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.55362,
"c": 0.14884,
"h": 290.5
},
"luminance": 0.15792
}Semantic roles & 50–950 ramp
primary
#745FC2
secondary
#CAD3AA
accent
#D453B9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83