#7046CF#7046CF
#7046CF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.200 H 292.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7046CF |
|---|---|
| RGB | rgb(112, 70, 207) |
| HSL | hsl(258, 59%, 54%) |
| HSV | hsv(258, 66%, 81%) |
| CMYK | cmyk(45.9%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(41.73, 49.19, -64.73) |
| CIE-LCH | lch(41.73, 81.30, 307.23°) |
| OKLab | oklab(51.91% 0.0751 -0.1853) |
| OKLCH | oklch(51.91% 0.2 292.1) |
| XYZ | xyz(20.1316, 12.3294, 60.3385) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.86
Bluish Purple
#703BE7
ΔE00 3.52
Purpleish Blue
#6140EF
ΔE00 4.56
Burple
#6832E3
ΔE00 4.58
Purpley Blue
#5F34E7
ΔE00 5.05
Blurple
#5539CC
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7046CF #A5CF46
analogous
#4661CF #7046CF #B446CF
triadic
#7046CF #CF7046 #46CF70
tetradic
#7046CF #CF4661 #A5CF46 #46CFB4
square
#7046CF #CF4661 #A5CF46 #46CFB4
split-complementary
#7046CF #CFB446 #61CF46
monochromatic
#3C207B #532CAB #7046CF #9677DC #BBA7E8
Accessibility & contrast
On white
6.06
#7046CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#7046CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7046CF
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7046CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7046CF | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#536785
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7046cf; /* rgb */ color: rgb(112, 70, 207); /* oklch */ color: oklch(51.9% 0.200 292.1);
Tailwind
colors: {
custom: {
50: '#a07cdf',
500: '#7046cf',
950: '#000000',
},
}SCSS
$custom: #7046cf; $custom-light: #a07cdf; $custom-dark: #000000;
JSON
{
"hex": "#7046cf",
"rgb": {
"r": 112,
"g": 70,
"b": 207
},
"hsl": {
"h": 258.394,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.51907,
"c": 0.1999,
"h": 292.1
},
"luminance": 0.1233
}Semantic roles & 50–950 ramp
primary
#7046CF
secondary
#C4D59B
accent
#E246B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83