#745FCB#745FCB
#745FCB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.161 H 289.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #745FCB |
|---|---|
| RGB | rgb(116, 95, 203) |
| HSL | hsl(252, 51%, 58%) |
| HSV | hsv(252, 53%, 80%) |
| CMYK | cmyk(42.9%, 53.2%, 0%, 20.4%) |
| CIE-LAB | lab(47.25, 34.71, -53.50) |
| CIE-LCH | lch(47.25, 63.77, 302.97°) |
| OKLab | oklab(55.95% 0.0526 -0.1521) |
| OKLCH | oklch(55.95% 0.161 289.1) |
| XYZ | xyz(22.0711, 16.2085, 58.4540) |
| Luminance | 0.1621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.08
Slate Blue
#6A5ACD
ΔE00 2.39
Dark Periwinkle
#665FD1
ΔE00 2.95
Iris
#6258C4
ΔE00 3.94
Purpley
#8756E4
ΔE00 5.34
Mediumslateblue
#7B68EE
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745FCB #B6CB5F
analogous
#5F80CB #745FCB #AA5FCB
triadic
#745FCB #CB745F #5FCB74
tetradic
#745FCB #CB5F80 #B6CB5F #5FCBAA
square
#745FCB #CB5F80 #B6CB5F #5FCBAA
split-complementary
#745FCB #CBAA5F #80CB5F
monochromatic
#3C2B85 #523AB3 #745FCB #9C8DDA #C4BBE9
Accessibility & contrast
On white
4.95
#745FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#745FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745FCB
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745FCB | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C72CF
Deuteranopia (green-blind)
#2D6DC9
Tritanopia (blue-blind)
#5B768C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #745fcb; /* rgb */ color: rgb(116, 95, 203); /* oklch */ color: oklch(55.9% 0.161 289.1);
Tailwind
colors: {
custom: {
50: '#a18ddb',
500: '#745fcb',
950: '#000000',
},
}SCSS
$custom: #745fcb; $custom-light: #a18ddb; $custom-dark: #000000;
JSON
{
"hex": "#745fcb",
"rgb": {
"r": 116,
"g": 95,
"b": 203
},
"hsl": {
"h": 251.667,
"s": 50.943,
"l": 58.431
},
"oklch": {
"l": 0.55946,
"c": 0.16093,
"h": 289.1
},
"luminance": 0.16209
}Semantic roles & 50–950 ramp
primary
#745FCB
secondary
#D0D8AD
accent
#DA4DBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83