#745CB0#745CB0
#745CB0 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 53.7% C 0.129 H 294.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #745CB0 |
|---|---|
| RGB | rgb(116, 92, 176) |
| HSL | hsl(257, 35%, 53%) |
| HSV | hsv(257, 48%, 69%) |
| CMYK | cmyk(34.1%, 47.7%, 0%, 31%) |
| CIE-LAB | lab(44.94, 28.97, -41.51) |
| CIE-LCH | lch(44.94, 50.62, 304.91°) |
| OKLab | oklab(53.71% 0.0542 -0.117) |
| OKLCH | oklch(53.71% 0.129 294.9) |
| XYZ | xyz(18.8641, 14.5016, 42.8711) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.88
Deep Lavender
#8D5EB7
ΔE00 5.56
Iris
#6258C4
ΔE00 5.65
Slate Blue
#6A5ACD
ΔE00 5.71
Light Indigo
#6D5ACF
ΔE00 5.73
Dark Periwinkle
#665FD1
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745CB0 #98B05C
analogous
#5C6EB0 #745CB0 #9E5CB0
triadic
#745CB0 #B0745C #5CB074
tetradic
#745CB0 #B05C6E #98B05C #5CB09E
square
#745CB0 #B05C6E #98B05C #5CB09E
split-complementary
#745CB0 #B09E5C #6EB05C
monochromatic
#3E3062 #58448B #745CB0 #9785C4 #BAAED8
Accessibility & contrast
On white
5.38
#745CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#745CB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745CB0
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745CB0 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6BB3
Deuteranopia (green-blind)
#4469AE
Tritanopia (blue-blind)
#666C7D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #745cb0; /* rgb */ color: rgb(116, 92, 176); /* oklch */ color: oklch(53.7% 0.129 294.9);
Tailwind
colors: {
custom: {
50: '#9f8ac8',
500: '#745cb0',
950: '#000000',
},
}SCSS
$custom: #745cb0; $custom-light: #9f8ac8; $custom-dark: #000000;
JSON
{
"hex": "#745cb0",
"rgb": {
"r": 116,
"g": 92,
"b": 176
},
"hsl": {
"h": 257.143,
"s": 34.711,
"l": 52.549
},
"oklch": {
"l": 0.53713,
"c": 0.1289,
"h": 294.9
},
"luminance": 0.14502
}Semantic roles & 50–950 ramp
primary
#745CB0
secondary
#BCC6A2
accent
#CB5DAB
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82