#745BCC#745BCC
#745BCC is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.3% C 0.168 H 290.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #745BCC |
|---|---|
| RGB | rgb(116, 91, 204) |
| HSL | hsl(253, 53%, 58%) |
| HSV | hsv(253, 55%, 80%) |
| CMYK | cmyk(43.1%, 55.4%, 0%, 20%) |
| CIE-LAB | lab(46.38, 37.35, -55.46) |
| CIE-LCH | lch(46.38, 66.87, 303.96°) |
| OKLab | oklab(55.33% 0.0574 -0.1579) |
| OKLCH | oklch(55.33% 0.168 290) |
| XYZ | xyz(21.8396, 15.5541, 58.9666) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.48
Slate Blue
#6A5ACD
ΔE00 1.95
Dark Periwinkle
#665FD1
ΔE00 3.26
Iris
#6258C4
ΔE00 3.59
Purpley
#8756E4
ΔE00 4.82
Mediumslateblue
#7B68EE
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745BCC #B3CC5B
analogous
#5B7BCC #745BCC #AC5BCC
triadic
#745BCC #CC745B #5BCC74
tetradic
#745BCC #CC5B7B #B3CC5B #5BCCAC
square
#745BCC #CC5B7B #B3CC5B #5BCCAC
split-complementary
#745BCC #CCAC5B #7BCC5B
monochromatic
#3D2984 #5337B2 #745BCC #9C8ADB #C3B8E9
Accessibility & contrast
On white
5.11
#745BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#745BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745BCC
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745BCC | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E70D0
Deuteranopia (green-blind)
#236BCA
Tritanopia (blue-blind)
#5A738B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #745bcc; /* rgb */ color: rgb(116, 91, 204); /* oklch */ color: oklch(55.3% 0.168 290.0);
Tailwind
colors: {
custom: {
50: '#a18adc',
500: '#745bcc',
950: '#000000',
},
}SCSS
$custom: #745bcc; $custom-light: #a18adc; $custom-dark: #000000;
JSON
{
"hex": "#745bcc",
"rgb": {
"r": 116,
"g": 91,
"b": 204
},
"hsl": {
"h": 253.274,
"s": 52.558,
"l": 57.843
},
"oklch": {
"l": 0.55326,
"c": 0.16799,
"h": 290
},
"luminance": 0.15555
}Semantic roles & 50–950 ramp
primary
#745BCC
secondary
#CED8AB
accent
#DC4CBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83