#7645AF#7645AF
#7645AF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.164 H 302.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7645AF |
|---|---|
| RGB | rgb(118, 69, 175) |
| HSL | hsl(268, 43%, 48%) |
| HSV | hsv(268, 61%, 69%) |
| CMYK | cmyk(32.6%, 60.6%, 0%, 31.4%) |
| CIE-LAB | lab(39.92, 42.52, -48.94) |
| CIE-LCH | lch(39.92, 64.83, 310.98°) |
| OKLab | oklab(50.03% 0.087 -0.1386) |
| OKLCH | oklch(50.03% 0.164 302.1) |
| XYZ | xyz(17.3354, 11.2029, 41.7982) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.64
Bluey Purple
#6241C7
ΔE00 5.75
Rebeccapurple
#663399
ΔE00 5.95
Purply
#983FB2
ΔE00 6.78
Darkorchid
#9932CC
ΔE00 7.26
Ocean Blue
#4F42B5
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7645AF #7EAF45
analogous
#4549AF #7645AF #AB45AF
triadic
#7645AF #AF7645 #45AF76
tetradic
#7645AF #AF4549 #7EAF45 #45AFAB
square
#7645AF #AF4549 #7EAF45 #45AFAB
split-complementary
#7645AF #AFAB45 #49AF45
monochromatic
#3B2257 #583483 #7645AF #956CC5 #B598D6
Accessibility & contrast
On white
6.48
#7645AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#7645AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7645AF
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7645AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7645AF | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085DB2
Deuteranopia (green-blind)
#275EAD
Tritanopia (blue-blind)
#6B5B73
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7645af; /* rgb */ color: rgb(118, 69, 175); /* oklch */ color: oklch(50.0% 0.164 302.1);
Tailwind
colors: {
custom: {
50: '#a17bc7',
500: '#7645af',
950: '#000000',
},
}SCSS
$custom: #7645af; $custom-light: #a17bc7; $custom-dark: #000000;
JSON
{
"hex": "#7645af",
"rgb": {
"r": 118,
"g": 69,
"b": 175
},
"hsl": {
"h": 267.736,
"s": 43.443,
"l": 47.843
},
"oklch": {
"l": 0.50025,
"c": 0.1637,
"h": 302.1
},
"luminance": 0.11203
}Semantic roles & 50–950 ramp
primary
#7645AF
secondary
#AAC28D
accent
#D35599
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82