#7150CF#7150CF
#7150CF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.187 H 290.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7150CF |
|---|---|
| RGB | rgb(113, 80, 207) |
| HSL | hsl(256, 57%, 56%) |
| HSV | hsv(256, 61%, 81%) |
| CMYK | cmyk(45.4%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(43.88, 43.89, -61.25) |
| CIE-LCH | lch(43.88, 75.35, 305.62°) |
| OKLab | oklab(53.48% 0.0659 -0.175) |
| OKLCH | oklch(53.48% 0.187 290.6) |
| XYZ | xyz(20.9380, 13.7523, 60.5706) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.02
Slate Blue
#6A5ACD
ΔE00 3.26
Iris
#6258C4
ΔE00 4.06
Bluey Purple
#6241C7
ΔE00 4.74
Dark Periwinkle
#665FD1
ΔE00 5.11
Purpley
#8756E4
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7150CF #AECF50
analogous
#506FCF #7150CF #B150CF
triadic
#7150CF #CF7150 #50CF71
tetradic
#7150CF #CF506F #AECF50 #50CFB1
square
#7150CF #CF506F #AECF50 #50CFB1
split-complementary
#7150CF #CFB150 #6FCF50
monochromatic
#3C2381 #5231B1 #7150CF #9880DC #BFB0E9
Accessibility & contrast
On white
5.60
#7150CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#7150CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7150CF
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7150CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7150CF | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#546D88
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7150cf; /* rgb */ color: rgb(113, 80, 207); /* oklch */ color: oklch(53.5% 0.187 290.6);
Tailwind
colors: {
custom: {
50: '#a083de',
500: '#7150cf',
950: '#000000',
},
}SCSS
$custom: #7150cf; $custom-light: #a083de; $custom-dark: #000000;
JSON
{
"hex": "#7150cf",
"rgb": {
"r": 113,
"g": 80,
"b": 207
},
"hsl": {
"h": 255.591,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.53481,
"c": 0.18703,
"h": 290.6
},
"luminance": 0.13753
}Semantic roles & 50–950 ramp
primary
#7150CF
secondary
#CAD8A3
accent
#E048B9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83