#745FDF#745FDF
#745FDF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.3% C 0.187 H 286.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #745FDF |
|---|---|
| RGB | rgb(116, 95, 223) |
| HSL | hsl(250, 67%, 62%) |
| HSV | hsv(250, 57%, 87%) |
| CMYK | cmyk(48%, 57.4%, 0%, 12.5%) |
| CIE-LAB | lab(48.54, 40.49, -62.82) |
| CIE-LCH | lch(48.54, 74.74, 302.80°) |
| OKLab | oklab(57.32% 0.0529 -0.1795) |
| OKLCH | oklch(57.32% 0.187 286.4) |
| XYZ | xyz(24.6101, 17.2240, 71.8256) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.03
Dark Periwinkle
#665FD1
ΔE00 3.22
Slate Blue
#6A5ACD
ΔE00 3.47
Mediumslateblue
#7B68EE
ΔE00 3.73
Purpley
#8756E4
ΔE00 4.16
Iris
#6258C4
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745FDF #CADF5F
analogous
#5F8ADF #745FDF #B45FDF
triadic
#745FDF #DF745F #5FDF74
tetradic
#745FDF #DF5F8A #CADF5F #5FDFB4
square
#745FDF #DF5F8A #CADF5F #5FDFB4
split-complementary
#745FDF #DFB45F #8ADF5F
monochromatic
#3621A3 #482CD5 #745FDF #A092E9 #CDC5F3
Accessibility & contrast
On white
4.72
#745FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#745FDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745FDF
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745FDF | 1.00 | 4.72 | 4.44 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#4F7C96
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #745fdf; /* rgb */ color: rgb(116, 95, 223); /* oklch */ color: oklch(57.3% 0.187 286.4);
Tailwind
colors: {
custom: {
50: '#a38dea',
500: '#745fdf',
950: '#000000',
},
}SCSS
$custom: #745fdf; $custom-light: #a38dea; $custom-dark: #000000;
JSON
{
"hex": "#745fdf",
"rgb": {
"r": 116,
"g": 95,
"b": 223
},
"hsl": {
"h": 249.844,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.57317,
"c": 0.18715,
"h": 286.4
},
"luminance": 0.17225
}Semantic roles & 50–950 ramp
primary
#745FDF
secondary
#DDE4B6
accent
#CF17B0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84