#7151AF#7151AF
#7151AF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.4% C 0.145 H 296.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7151AF |
|---|---|
| RGB | rgb(113, 81, 175) |
| HSL | hsl(260, 37%, 50%) |
| HSV | hsv(260, 54%, 69%) |
| CMYK | cmyk(35.4%, 53.7%, 0%, 31.4%) |
| CIE-LAB | lab(41.99, 34.45, -45.66) |
| CIE-LCH | lch(41.99, 57.20, 307.03°) |
| OKLab | oklab(51.42% 0.065 -0.1292) |
| OKLCH | oklch(51.42% 0.145 296.7) |
| XYZ | xyz(17.4884, 12.4905, 42.0386) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.20
Iris
#6258C4
ΔE00 5.61
Slate Blue
#6A5ACD
ΔE00 6.04
Light Indigo
#6D5ACF
ΔE00 6.08
Bluey Purple
#6241C7
ΔE00 6.55
Deep Lavender
#8D5EB7
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7151AF #8FAF51
analogous
#5160AF #7151AF #A051AF
triadic
#7151AF #AF7151 #51AF71
tetradic
#7151AF #AF5160 #8FAF51 #51AFA0
square
#7151AF #AF5160 #8FAF51 #51AFA0
split-complementary
#7151AF #AFA051 #60AF51
monochromatic
#3B2A5C #563D85 #7151AF #937BC2 #B5A5D6
Accessibility & contrast
On white
6.00
#7151AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#7151AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7151AF
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7151AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7151AF | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#3462AD
Tritanopia (blue-blind)
#636478
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7151af; /* rgb */ color: rgb(113, 81, 175); /* oklch */ color: oklch(51.4% 0.145 296.7);
Tailwind
colors: {
custom: {
50: '#9d83c7',
500: '#7151af',
950: '#000000',
},
}SCSS
$custom: #7151af; $custom-light: #9d83c7; $custom-dark: #000000;
JSON
{
"hex": "#7151af",
"rgb": {
"r": 113,
"g": 81,
"b": 175
},
"hsl": {
"h": 260.426,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.51418,
"c": 0.14461,
"h": 296.7
},
"luminance": 0.12491
}Semantic roles & 50–950 ramp
primary
#7151AF
secondary
#B5C399
accent
#CD5BA6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0A13
muted
#7E7C82