#7147CB#7147CB
#7147CB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.194 H 293.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7147CB |
|---|---|
| RGB | rgb(113, 71, 203) |
| HSL | hsl(259, 56%, 54%) |
| HSV | hsv(259, 65%, 80%) |
| CMYK | cmyk(44.3%, 65%, 0%, 20.4%) |
| CIE-LAB | lab(41.73, 47.75, -62.42) |
| CIE-LCH | lch(41.73, 78.59, 307.41°) |
| OKLab | oklab(51.84% 0.0759 -0.1784) |
| OKLCH | oklch(51.84% 0.194 293) |
| XYZ | xyz(19.8398, 12.3284, 57.8226) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.98
Bluish Purple
#703BE7
ΔE00 4.11
Burple
#6832E3
ΔE00 5.10
Purpleish Blue
#6140EF
ΔE00 5.19
Light Indigo
#6D5ACF
ΔE00 5.39
Blurple
#5539CC
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7147CB #A1CB47
analogous
#475FCB #7147CB #B347CB
triadic
#7147CB #CB7147 #47CB71
tetradic
#7147CB #CB475F #A1CB47 #47CBB3
square
#7147CB #CB475F #A1CB47 #47CBB3
split-complementary
#7147CB #CBB347 #5FCB47
monochromatic
#3C2176 #552FA6 #7147CB #9677D8 #BBA6E6
Accessibility & contrast
On white
6.06
#7147CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#7147CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7147CB
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7147CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7147CB | 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)
#0064CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#576683
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7147cb; /* rgb */ color: rgb(113, 71, 203); /* oklch */ color: oklch(51.8% 0.194 293.0);
Tailwind
colors: {
custom: {
50: '#a17ddc',
500: '#7147cb',
950: '#000000',
},
}SCSS
$custom: #7147cb; $custom-light: #a17ddc; $custom-dark: #000000;
JSON
{
"hex": "#7147cb",
"rgb": {
"r": 113,
"g": 71,
"b": 203
},
"hsl": {
"h": 259.091,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.51835,
"c": 0.19392,
"h": 293
},
"luminance": 0.12329
}Semantic roles & 50–950 ramp
primary
#7147CB
secondary
#C1D39B
accent
#DF49AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83