#7146CC#7146CC
#7146CC is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.196 H 293.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7146CC |
|---|---|
| RGB | rgb(113, 70, 204) |
| HSL | hsl(259, 57%, 54%) |
| HSV | hsv(259, 66%, 80%) |
| CMYK | cmyk(44.6%, 65.7%, 0%, 20%) |
| CIE-LAB | lab(41.61, 48.56, -63.20) |
| CIE-LCH | lch(41.61, 79.70, 307.54°) |
| OKLab | oklab(51.77% 0.0768 -0.1807) |
| OKLCH | oklch(51.77% 0.196 293) |
| XYZ | xyz(19.8963, 12.2501, 58.4312) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.88
Bluish Purple
#703BE7
ΔE00 3.88
Burple
#6832E3
ΔE00 4.85
Purpleish Blue
#6140EF
ΔE00 5.02
Blurple
#5539CC
ΔE00 5.33
Purpley Blue
#5F34E7
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7146CC #A1CC46
analogous
#465ECC #7146CC #B446CC
triadic
#7146CC #CC7146 #46CC71
tetradic
#7146CC #CC465E #A1CC46 #46CCB4
square
#7146CC #CC465E #A1CC46 #46CCB4
split-complementary
#7146CC #CCB446 #5ECC46
monochromatic
#3C2177 #552EA7 #7146CC #9676D9 #BBA6E6
Accessibility & contrast
On white
6.09
#7146CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#7146CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7146CC
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7146CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7146CC | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#576683
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7146cc; /* rgb */ color: rgb(113, 70, 204); /* oklch */ color: oklch(51.8% 0.196 293.0);
Tailwind
colors: {
custom: {
50: '#a17cdc',
500: '#7146cc',
950: '#000000',
},
}SCSS
$custom: #7146cc; $custom-light: #a17cdc; $custom-dark: #000000;
JSON
{
"hex": "#7146cc",
"rgb": {
"r": 113,
"g": 70,
"b": 204
},
"hsl": {
"h": 259.254,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.5177,
"c": 0.19637,
"h": 293
},
"luminance": 0.12251
}Semantic roles & 50–950 ramp
primary
#7146CC
secondary
#C1D49A
accent
#E048AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83