#745FDC#745FDC
#745FDC is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.183 H 286.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #745FDC |
|---|---|
| RGB | rgb(116, 95, 220) |
| HSL | hsl(250, 64%, 62%) |
| HSV | hsv(250, 57%, 86%) |
| CMYK | cmyk(47.3%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(48.34, 39.62, -61.45) |
| CIE-LCH | lch(48.34, 73.11, 302.81°) |
| OKLab | oklab(57.11% 0.0529 -0.1755) |
| OKLCH | oklch(57.11% 0.183 286.8) |
| XYZ | xyz(24.2092, 17.0637, 69.7143) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.71
Dark Periwinkle
#665FD1
ΔE00 3.00
Slate Blue
#6A5ACD
ΔE00 3.16
Mediumslateblue
#7B68EE
ΔE00 4.01
Purpley
#8756E4
ΔE00 4.22
Iris
#6258C4
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745FDC #C7DC5F
analogous
#5F89DC #745FDC #B35FDC
triadic
#745FDC #DC745F #5FDC74
tetradic
#745FDC #DC5F89 #C7DC5F #5FDCB3
square
#745FDC #DC5F89 #C7DC5F #5FDCB3
split-complementary
#745FDC #DCB35F #89DC5F
monochromatic
#37239E #492ED0 #745FDC #A091E7 #CBC3F2
Accessibility & contrast
On white
4.76
#745FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#745FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745FDC
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745FDC | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0176E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#517B94
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #745fdc; /* rgb */ color: rgb(116, 95, 220); /* oklch */ color: oklch(57.1% 0.183 286.8);
Tailwind
colors: {
custom: {
50: '#a38de8',
500: '#745fdc',
950: '#000000',
},
}SCSS
$custom: #745fdc; $custom-light: #a38de8; $custom-dark: #000000;
JSON
{
"hex": "#745fdc",
"rgb": {
"r": 116,
"g": 95,
"b": 220
},
"hsl": {
"h": 250.08,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.57105,
"c": 0.18327,
"h": 286.8
},
"luminance": 0.17065
}Semantic roles & 50–950 ramp
primary
#745FDC
secondary
#DBE3B4
accent
#CC1AAE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84