#7645F2#7645F2
#7645F2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.2% C 0.241 H 288.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7645F2 |
|---|---|
| RGB | rgb(118, 69, 242) |
| HSL | hsl(257, 87%, 61%) |
| HSV | hsv(257, 71%, 95%) |
| CMYK | cmyk(51.2%, 71.5%, 0%, 5.1%) |
| CIE-LAB | lab(44.97, 60.21, -79.36) |
| CIE-LCH | lch(44.97, 99.61, 307.19°) |
| OKLab | oklab(55.22% 0.0781 -0.228) |
| OKLCH | oklch(55.22% 0.241 288.9) |
| XYZ | xyz(25.6217, 14.5174, 85.4393) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.04
Purpleish Blue
#6140EF
ΔE00 3.31
Purpley
#8756E4
ΔE00 5.10
Burple
#6832E3
ΔE00 5.30
Purpley Blue
#5F34E7
ΔE00 5.47
Blueviolet
#8A2BE2
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7645F2 #C1F245
analogous
#456AF2 #7645F2 #CC45F2
triadic
#7645F2 #F27645 #45F276
tetradic
#7645F2 #F2456A #C1F245 #45F2CC
square
#7645F2 #F2456A #C1F245 #45F2CC
split-complementary
#7645F2 #F2CC45 #6AF245
monochromatic
#3B0CB0 #4E10E9 #7645F2 #A07EF6 #CAB7FA
Accessibility & contrast
On white
5.38
#7645F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#7645F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7645F2
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7645F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7645F2 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EF7
Deuteranopia (green-blind)
#0066EF
Tritanopia (blue-blind)
#487398
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7645f2; /* rgb */ color: rgb(118, 69, 242); /* oklch */ color: oklch(55.2% 0.241 288.9);
Tailwind
colors: {
custom: {
50: '#a87df8',
500: '#7645f2',
950: '#000000',
},
}SCSS
$custom: #7645f2; $custom-light: #a87df8; $custom-dark: #000000;
JSON
{
"hex": "#7645f2",
"rgb": {
"r": 118,
"g": 69,
"b": 242
},
"hsl": {
"h": 256.994,
"s": 86.935,
"l": 60.98
},
"oklch": {
"l": 0.55224,
"c": 0.24104,
"h": 288.9
},
"luminance": 0.14519
}Semantic roles & 50–950 ramp
primary
#7645F2
secondary
#D8EAA9
accent
#E302A4
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85