#7146CF#7146CF
#7146CF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.200 H 292.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7146CF |
|---|---|
| RGB | rgb(113, 70, 207) |
| HSL | hsl(259, 59%, 54%) |
| HSV | hsv(259, 66%, 81%) |
| CMYK | cmyk(45.4%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(41.84, 49.38, -64.56) |
| CIE-LCH | lch(41.84, 81.28, 307.41°) |
| OKLab | oklab(52.01% 0.0764 -0.1847) |
| OKLCH | oklch(52.01% 0.2 292.5) |
| XYZ | xyz(20.2596, 12.3954, 60.3445) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.00
Bluish Purple
#703BE7
ΔE00 3.53
Burple
#6832E3
ΔE00 4.64
Purpleish Blue
#6140EF
ΔE00 4.64
Purpley Blue
#5F34E7
ΔE00 5.13
Blurple
#5539CC
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7146CF #A4CF46
analogous
#4660CF #7146CF #B546CF
triadic
#7146CF #CF7146 #46CF71
tetradic
#7146CF #CF4660 #A4CF46 #46CFB5
square
#7146CF #CF4660 #A4CF46 #46CFB5
split-complementary
#7146CF #CFB546 #60CF46
monochromatic
#3C207B #542CAB #7146CF #9677DC #BCA7E8
Accessibility & contrast
On white
6.04
#7146CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#7146CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7146CF
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7146CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7146CF | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#556785
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7146cf; /* rgb */ color: rgb(113, 70, 207); /* oklch */ color: oklch(52.0% 0.200 292.5);
Tailwind
colors: {
custom: {
50: '#a17cdf',
500: '#7146cf',
950: '#000000',
},
}SCSS
$custom: #7146cf; $custom-light: #a17cdf; $custom-dark: #000000;
JSON
{
"hex": "#7146cf",
"rgb": {
"r": 113,
"g": 70,
"b": 207
},
"hsl": {
"h": 258.832,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.52005,
"c": 0.19993,
"h": 292.5
},
"luminance": 0.12396
}Semantic roles & 50–950 ramp
primary
#7146CF
secondary
#C3D59B
accent
#E246B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83