#7046FC#7046FC
#7046FC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.7% C 0.252 H 285.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7046FC |
|---|---|
| RGB | rgb(112, 70, 252) |
| HSL | hsl(254, 97%, 63%) |
| HSV | hsv(254, 72%, 99%) |
| CMYK | cmyk(55.6%, 72.2%, 0%, 1.2%) |
| CIE-LAB | lab(45.43, 61.60, -84.22) |
| CIE-LCH | lch(45.43, 104.34, 306.18°) |
| OKLab | oklab(55.68% 0.0669 -0.2424) |
| OKLCH | oklch(55.68% 0.252 285.4) |
| XYZ | xyz(26.4376, 14.8518, 93.5502) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.35
Bluish Purple
#703BE7
ΔE00 3.94
Purpley
#8756E4
ΔE00 5.73
Purpley Blue
#5F34E7
ΔE00 5.88
Burple
#6832E3
ΔE00 5.97
Blueviolet
#8A2BE2
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7046FC #D2FC46
analogous
#4677FC #7046FC #CB46FC
triadic
#7046FC #FC7046 #46FC70
tetradic
#7046FC #FC4677 #D2FC46 #46FCCB
square
#7046FC #FC4677 #D2FC46 #46FCCB
split-complementary
#7046FC #FCCB46 #77FC46
monochromatic
#3003C4 #410AFB #7046FC #9F82FD #CDBEFE
Accessibility & contrast
On white
5.29
#7046FC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7046FC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7046FC
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7046FC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7046FC | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0066F9
Tritanopia (blue-blind)
#2C789D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7046fc; /* rgb */ color: rgb(112, 70, 252); /* oklch */ color: oklch(55.7% 0.252 285.4);
Tailwind
colors: {
custom: {
50: '#a67eff',
500: '#7046fc',
950: '#000000',
},
}SCSS
$custom: #7046fc; $custom-light: #a67eff; $custom-dark: #000000;
JSON
{
"hex": "#7046fc",
"rgb": {
"r": 112,
"g": 70,
"b": 252
},
"hsl": {
"h": 253.846,
"s": 96.809,
"l": 63.137
},
"oklch": {
"l": 0.5568,
"c": 0.25151,
"h": 285.4
},
"luminance": 0.14853
}Semantic roles & 50–950 ramp
primary
#7046FC
secondary
#E0EFAE
accent
#E600B1
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86