#745FDD#745FDD
#745FDD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.2% C 0.185 H 286.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #745FDD |
|---|---|
| RGB | rgb(116, 95, 221) |
| HSL | hsl(250, 65%, 62%) |
| HSV | hsv(250, 57%, 87%) |
| CMYK | cmyk(47.5%, 57%, 0%, 13.3%) |
| CIE-LAB | lab(48.41, 39.91, -61.91) |
| CIE-LCH | lch(48.41, 73.66, 302.81°) |
| OKLab | oklab(57.18% 0.0529 -0.1768) |
| OKLCH | oklch(57.18% 0.185 286.7) |
| XYZ | xyz(24.3420, 17.1168, 70.4139) |
| Luminance | 0.1712 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.81
Dark Periwinkle
#665FD1
ΔE00 3.07
Slate Blue
#6A5ACD
ΔE00 3.26
Mediumslateblue
#7B68EE
ΔE00 3.91
Purpley
#8756E4
ΔE00 4.20
Iris
#6258C4
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745FDD #C8DD5F
analogous
#5F89DD #745FDD #B35FDD
triadic
#745FDD #DD745F #5FDD74
tetradic
#745FDD #DD5F89 #C8DD5F #5FDDB3
square
#745FDD #DD5F89 #C8DD5F #5FDDB3
split-complementary
#745FDD #DDB35F #89DD5F
monochromatic
#3722A0 #482DD2 #745FDD #A091E8 #CCC4F2
Accessibility & contrast
On white
4.75
#745FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#745FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745FDD
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745FDD | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#507B95
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #745fdd; /* rgb */ color: rgb(116, 95, 221); /* oklch */ color: oklch(57.2% 0.185 286.7);
Tailwind
colors: {
custom: {
50: '#a38de8',
500: '#745fdd',
950: '#000000',
},
}SCSS
$custom: #745fdd; $custom-light: #a38de8; $custom-dark: #000000;
JSON
{
"hex": "#745fdd",
"rgb": {
"r": 116,
"g": 95,
"b": 221
},
"hsl": {
"h": 250,
"s": 64.948,
"l": 61.961
},
"oklch": {
"l": 0.57176,
"c": 0.18458,
"h": 286.7
},
"luminance": 0.17118
}Semantic roles & 50–950 ramp
primary
#745FDD
secondary
#DBE3B5
accent
#CD19AF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84