#745FCA#745FCA
#745FCA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.160 H 289.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #745FCA |
|---|---|
| RGB | rgb(116, 95, 202) |
| HSL | hsl(252, 50%, 58%) |
| HSV | hsv(252, 53%, 79%) |
| CMYK | cmyk(42.6%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(47.18, 34.42, -53.03) |
| CIE-LCH | lch(47.18, 63.22, 302.99°) |
| OKLab | oklab(55.88% 0.0525 -0.1507) |
| OKLCH | oklch(55.88% 0.16 289.2) |
| XYZ | xyz(21.9524, 16.1609, 57.8284) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.14
Slate Blue
#6A5ACD
ΔE00 2.44
Dark Periwinkle
#665FD1
ΔE00 3.02
Iris
#6258C4
ΔE00 3.92
Purpley
#8756E4
ΔE00 5.43
Mediumslateblue
#7B68EE
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745FCA #B5CA5F
analogous
#5F7FCA #745FCA #AA5FCA
triadic
#745FCA #CA745F #5FCA74
tetradic
#745FCA #CA5F7F #B5CA5F #5FCAAA
square
#745FCA #CA5F7F #B5CA5F #5FCAAA
split-complementary
#745FCA #CAAA5F #7FCA5F
monochromatic
#3D2B83 #523BB1 #745FCA #9C8DD9 #C4BBE8
Accessibility & contrast
On white
4.96
#745FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#745FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745FCA
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745FCA | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#2F6DC8
Tritanopia (blue-blind)
#5B768B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #745fca; /* rgb */ color: rgb(116, 95, 202); /* oklch */ color: oklch(55.9% 0.160 289.2);
Tailwind
colors: {
custom: {
50: '#a18ddb',
500: '#745fca',
950: '#000000',
},
}SCSS
$custom: #745fca; $custom-light: #a18ddb; $custom-dark: #000000;
JSON
{
"hex": "#745fca",
"rgb": {
"r": 116,
"g": 95,
"b": 202
},
"hsl": {
"h": 251.776,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.5588,
"c": 0.1596,
"h": 289.2
},
"luminance": 0.16162
}Semantic roles & 50–950 ramp
primary
#745FCA
secondary
#CFD8AD
accent
#DA4EBE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83